Module: FrontendReloadControl::Rails::Helpers

Defined in:
lib/frontend_reload_control/rails/helpers.rb

Instance Method Summary collapse

Instance Method Details

#add_frontend_reload_control_timestampObject



6
7
8
# File 'lib/frontend_reload_control/rails/helpers.rb', line 6

def add_frontend_reload_control_timestamp
  response.headers['X-Frontend-Reload-Control-Timestamp'] = ::Rails.cache.fetch("X-Frontend-Reload-Control-Timestamp")
end