module ActionControllerTweaks::Caching

Constants

HEADERS

Public Instance Methods

set_no_cache() click to toggle source

Should be more powerful than expire_now

# File lib/action_controller_tweaks/caching.rb, line 20
def set_no_cache
  HEADERS.each do |key, value|
    response.headers[key] = value
  end
end