about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorHolly "Frinkeldoodle" Lotor <admin@frinkel.tech>2020-01-17 07:20:20 +0000
committerHolly "Frinkeldoodle" Lotor <admin@frinkel.tech>2020-01-17 07:33:31 +0000
commit7b4381b4bdd2e3535b907abfe5f5ffa702d692aa (patch)
treec4c8acbd7b1b745aadeb60547639f341fd7d7da8 /app/controllers
parent503158b0cf2849e589a5d2728c591a7f0e65e00d (diff)
Comment out reference to var that hasn't been ported yet
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/concerns/cache_concern.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/concerns/cache_concern.rb b/app/controllers/concerns/cache_concern.rb
index c7d25ae00..90d7d26db 100644
--- a/app/controllers/concerns/cache_concern.rb
+++ b/app/controllers/concerns/cache_concern.rb
@@ -25,7 +25,9 @@ module CacheConcern
   end
 
   def set_cache_headers
-    response.headers['Vary'] = public_fetch_mode? ? 'Accept' : 'Accept, Signature'
+# TODO: Uncomment the following line if and when public_fetch_mode exists
+#    response.headers['Vary'] = public_fetch_mode? ? 'Accept' : 'Accept, Signature'
+    response.headers['Vary'] = 'Accept'
   end
 
   def cache_collection(raw, klass)