mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Follow up fa986ae0ca
This commit is contained in:
parent
fa986ae0ca
commit
a33dbb17b0
2 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,7 @@ module AbstractController
|
|||
end
|
||||
|
||||
def cache_store=(store)
|
||||
config.cache_store = ActiveSupport::Cache.lookup_store(store)
|
||||
config.cache_store = ActiveSupport::Cache.lookup_store(*store)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
@ -54,7 +54,6 @@ module ActiveSupport
|
|||
# ActiveSupport::Cache.lookup_store(MyOwnCacheStore.new)
|
||||
# # => returns MyOwnCacheStore.new
|
||||
def lookup_store(store = nil, *parameters)
|
||||
|
||||
case store
|
||||
when Symbol
|
||||
options = parameters.extract_options!
|
||||
|
|
Loading…
Reference in a new issue