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:
parent
ac2b213135
commit
20bab5bc64
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue