From 6fae0a0ec0e00db344369430e4f90e54590a5cb8 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 21 Oct 2008 10:20:30 +0200 Subject: No use case handy for justifying fresh? any more --- actionpack/lib/action_controller/base.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 56f4f80617..2cff05dfa4 100644 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -1096,11 +1096,6 @@ module ActionController #:nodoc: !request.fresh?(response) end - # The opposite of stale? provided for parity when that feels more natural. - def fresh?(options) - !stale?(options) - end - # Sets the etag, last_modified, or both on the response and renders a # "304 Not Modified" response if the request is already fresh. # -- cgit v1.2.3