Comment out reference to var that hasn't been ported yet

master
Holly "Frinkeldoodle" Lotor 2020-01-17 07:20:20 +00:00
parent 503158b0cf
commit 7b4381b4bd
1 changed files with 3 additions and 1 deletions

View File

@ -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)