Follow up fa986ae0ca
This commit is contained in:
parent
fa986ae0ca
commit
a33dbb17b0
|
@ -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 New Issue