aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/initializer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb
index 2a60ea2f56..4e94b850d8 100644
--- a/railties/lib/initializer.rb
+++ b/railties/lib/initializer.rb
@@ -87,11 +87,11 @@ module Rails
load_plugins
+ load_application_initializers
+
# the framework is now fully initialized
after_initialize
- load_application_initializers
-
# Routing must be initialized after plugins to allow the former to extend the routes
initialize_routing