Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit fe13e711627ffe304a85b711cd16d10b1d2e29f4 1 parent 59f6b99
Rafael Mendonça França rafaelfranca authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionview/lib/action_view/railtie.rb
2  actionview/lib/action_view/railtie.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.