Permalink
Browse files

Remove the explicit order set for the initializer

This will fix the regression added on
b068e20.

See tests added at ff08d31 to a better understanding about the problem
  • Loading branch information...
1 parent 59f6b99 commit fe13e711627ffe304a85b711cd16d10b1d2e29f4 @rafaelfranca rafaelfranca committed Dec 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionview/lib/action_view/railtie.rb
@@ -36,7 +36,7 @@ class Railtie < Rails::Railtie # :nodoc:
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

0 comments on commit fe13e71

Please sign in to comment.