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
This commit is contained in:
Rick Olson 2008-02-03 17:54:39 +00:00
parent ac2b213135
commit 20bab5bc64
1 changed files with 2 additions and 2 deletions

View File

@ -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