mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
cache_store and page_cache_directory are already defined in caching
and pages
This commit is contained in:
@@ -46,11 +46,8 @@ module ActionController
|
||||
cattr_accessor :use_accept_header
|
||||
self.use_accept_header = true
|
||||
|
||||
cattr_accessor :page_cache_directory
|
||||
self.page_cache_directory = defined?(Rails.public_path) ? Rails.public_path : ""
|
||||
|
||||
cattr_reader :cache_store
|
||||
|
||||
cattr_accessor :consider_all_requests_local
|
||||
self.consider_all_requests_local = true
|
||||
|
||||
@@ -116,7 +113,7 @@ module ActionController
|
||||
details[:prefix] = nil if name =~ /\blayouts/
|
||||
super
|
||||
end
|
||||
|
||||
|
||||
# Move this into a "don't run in production" module
|
||||
def _default_layout(details, require_layout = false)
|
||||
super
|
||||
|
||||
Reference in New Issue
Block a user