aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2008-02-03 17:54:39 +0000
committerRick Olson <technoweenie@gmail.com>2008-02-03 17:54:39 +0000
commit20bab5bc64cfa25c8693e7be271dec075869dfc9 (patch)
treeb32a7d06501c335d3e6c079a60d3d14ec3ca14ca /railties/lib
parentac2b213135735af33b8fe107c599c3b72058128e (diff)
downloadrails-20bab5bc64cfa25c8693e7be271dec075869dfc9.tar.gz
rails-20bab5bc64cfa25c8693e7be271dec075869dfc9.tar.bz2
rails-20bab5bc64cfa25c8693e7be271dec075869dfc9.zip
ensure that the after_initialize hooks are run after the application initializers have run
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-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