1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Ensure that the app routes file is loaded even when engines are in play (Thjis) [#1970 state:committed]

This commit is contained in:
David Heinemeier Hansson 2009-02-22 16:04:04 +01:00
parent 57cca81cae
commit b61cad6ae1

View file

@ -496,7 +496,7 @@ Run `rake gems:install` to install the missing gems.
ActionController::Routing.controller_paths += configuration.controller_paths
ActionController::Routing::Routes.add_configuration_file(configuration.routes_configuration_file)
ActionController::Routing::Routes.reload
ActionController::Routing::Routes.reload!
end
# Sets the dependency loading mechanism based on the value of