mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove caching_allowed? from ActionController::Caching
Where is this used? No other code references to this method and it isn't being tested anywhere. No tests fail when commented out.
This commit is contained in:
parent
8fff05ad32
commit
c4bc360e4e
1 changed files with 0 additions and 4 deletions
|
@ -82,10 +82,6 @@ module ActionController
|
|||
end
|
||||
end
|
||||
|
||||
def caching_allowed?
|
||||
request.get? && response.status == 200
|
||||
end
|
||||
|
||||
def view_cache_dependencies
|
||||
self.class._view_cache_dependencies.map { |dep| instance_exec(&dep) }.compact
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue