diff options
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/initializer.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb index 1535b7213f..082c14c634 100644 --- a/railties/lib/initializer.rb +++ b/railties/lib/initializer.rb @@ -82,7 +82,6 @@ module Rails initialize_logger initialize_framework_logging initialize_framework_views - initialize_routing initialize_dependency_mechanism initialize_breakpoints initialize_whiny_nils @@ -97,6 +96,9 @@ module Rails load_framework_info load_plugins + + # Routing must be initialized after plugins to allow the former to extend the routes + initialize_routing end # Set the <tt>$LOAD_PATH</tt> based on the value of |