diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-04-28 11:59:55 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-04-28 12:02:50 -0700 |
commit | 90f6062f7d5893f11ef186e80a91269421dc6f65 (patch) | |
tree | 39719424f03b7c7e60a4c5b7308236637b9989b9 /railties | |
parent | 9a80e97d58610895d62bfc158ede4c4358582819 (diff) | |
download | rails-90f6062f7d5893f11ef186e80a91269421dc6f65.tar.gz rails-90f6062f7d5893f11ef186e80a91269421dc6f65.tar.bz2 rails-90f6062f7d5893f11ef186e80a91269421dc6f65.zip |
run prepare callbacks after after_initialize blocks so config.to_prepare actually works
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/initializer.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb index e36f917b15..ea61d4e4fe 100644 --- a/railties/lib/initializer.rb +++ b/railties/lib/initializer.rb @@ -135,12 +135,12 @@ module Rails load_application_initializers - # Prepare dispatcher callbacks and run 'prepare' callbacks - prepare_dispatcher - # the framework is now fully initialized after_initialize + # Prepare dispatcher callbacks and run 'prepare' callbacks + prepare_dispatcher + # Routing must be initialized after plugins to allow the former to extend the routes initialize_routing |