Permalink
Browse files

Ensure that the app routes file is loaded even when engines are in pl…

…ay (Thjis) [#1970 state:committed]
  • Loading branch information...
1 parent 57cca81 commit b61cad6ae140bc71c6a74b22c75e886b41154b0a @dhh dhh committed Feb 22, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/initializer.rb
@@ -496,7 +496,7 @@ def initialize_routing
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

0 comments on commit b61cad6

Please sign in to comment.