aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-05 16:34:22 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-05 16:37:10 -0200
commitfe13e711627ffe304a85b711cd16d10b1d2e29f4 (patch)
treebcd232847407c88cfefcd4ab5247659a8eef89dd
parent59f6b99fc3a02f272d7ba4828317ebd8bd5a362f (diff)
downloadrails-fe13e711627ffe304a85b711cd16d10b1d2e29f4.tar.gz
rails-fe13e711627ffe304a85b711cd16d10b1d2e29f4.tar.bz2
rails-fe13e711627ffe304a85b711cd16d10b1d2e29f4.zip
Remove the explicit order set for the initializer
This will fix the regression added on b068e20b35797aa6deaa377a48c990759734f515. See tests added at ff08d31 to a better understanding about the problem
-rw-r--r--actionview/lib/action_view/railtie.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/railtie.rb b/actionview/lib/action_view/railtie.rb
index e930ba9aae..81f9c40b85 100644
--- a/actionview/lib/action_view/railtie.rb
+++ b/actionview/lib/action_view/railtie.rb
@@ -36,7 +36,7 @@ module ActionView
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
ActionView::RoutingUrlFor.send(:include, ActionDispatch::Routing::UrlFor)
end