Respect gospel of Railties Gods: no on_load with after.
We don't need no stinking `on_load` where we're going! Because people far wiser than me (@rafaelfranca and @jeremy) know that passing `:after` means the lib is already loaded.
This commit is contained in:
parent
c1ad19c92f
commit
940124a226
|
@ -38,9 +38,7 @@ module ActionView
|
|||
end
|
||||
|
||||
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
|
||||
PartialRenderer.collection_cache = app.config.action_controller.cache_store
|
||||
end
|
||||
|
||||
initializer "action_view.per_request_digest_cache" do |app|
|
||||
|
|
Loading…
Reference in New Issue