diff options
author | Holly "Frinkeldoodle" Lotor <admin@frinkel.tech> | 2020-01-17 07:20:20 +0000 |
---|---|---|
committer | Holly "Frinkeldoodle" Lotor <admin@frinkel.tech> | 2020-01-17 07:33:31 +0000 |
commit | 7b4381b4bdd2e3535b907abfe5f5ffa702d692aa (patch) | |
tree | c4c8acbd7b1b745aadeb60547639f341fd7d7da8 /app/controllers | |
parent | 503158b0cf2849e589a5d2728c591a7f0e65e00d (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.rb | 4 |
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) |