instance method
last_modified
Ruby on Rails 3.1.12
Since v3.0.20Signature
last_modified()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/http/cache.rb, line 45
def last_modified
if last = headers['Last-Modified']
Time.httpdate(last)
end
end
Defined in actionpack/lib/action_dispatch/http/cache.rb line 45
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::Cache::Response