Remove the explicit order set for the initializer
This will fix the regression added onb068e20b35
. See tests added atff08d31
to a better understanding about the problem
This commit is contained in:
parent
59f6b99fc3
commit
fe13e71162
|
@ -36,7 +36,7 @@ module ActionView
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
initializer "action_view.setup_action_pack", before: :add_view_paths do |app|
|
initializer "action_view.setup_action_pack" do |app|
|
||||||
ActiveSupport.on_load(:action_controller) do
|
ActiveSupport.on_load(:action_controller) do
|
||||||
ActionView::RoutingUrlFor.send(:include, ActionDispatch::Routing::UrlFor)
|
ActionView::RoutingUrlFor.send(:include, ActionDispatch::Routing::UrlFor)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue