make the collection_caching initializer run after the Action Controller configs are setup
This commit is contained in:
parent
791bdf6fb3
commit
4266a61285
|
@ -37,7 +37,7 @@ module ActionView
|
|||
end
|
||||
end
|
||||
|
||||
initializer "action_view.collection_caching" do |app|
|
||||
initializer "action_view.collection_caching", after: "action_controller.set_configs" do |app|
|
||||
ActiveSupport.on_load(:action_controller) do
|
||||
PartialRenderer.collection_cache = app.config.action_controller.cache_store
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue