Method: ActionController::ConditionalGet#no_store

Defined in:
lib/action_controller/metal/conditional_get.rb

#no_storeObject

Sets an HTTP 1.1 Cache-Control header of no-store. This means the resource may not be stored in any cache.



331
332
333
# File 'lib/action_controller/metal/conditional_get.rb', line 331

def no_store
  response.cache_control.replace(no_store: true)
end