diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-05-04 20:02:14 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-05-04 20:02:14 -0500 |
commit | b9f9dd8fe9d84c22450c1cf24b6c8a41eae8bbfd (patch) | |
tree | 91f53b5dc474bdd73415db106c5e88210cf32cb5 /railties/lib/console_app.rb | |
parent | ccea98389abbf150b886c9f964b1def47f00f237 (diff) | |
download | rails-b9f9dd8fe9d84c22450c1cf24b6c8a41eae8bbfd.tar.gz rails-b9f9dd8fe9d84c22450c1cf24b6c8a41eae8bbfd.tar.bz2 rails-b9f9dd8fe9d84c22450c1cf24b6c8a41eae8bbfd.zip |
Fix console
Diffstat (limited to 'railties/lib/console_app.rb')
-rw-r--r-- | railties/lib/console_app.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/railties/lib/console_app.rb b/railties/lib/console_app.rb index 5c8302634a..c944d49205 100644 --- a/railties/lib/console_app.rb +++ b/railties/lib/console_app.rb @@ -26,7 +26,8 @@ end #reloads the environment def reload! puts "Reloading..." - Dispatcher.cleanup_application - Dispatcher.reload_application + dispatcher = ActionController::Dispatcher.new + dispatcher.cleanup_application + dispatcher.reload_application true end |