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:
parent
57cca81cae
commit
b61cad6ae1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue