diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-04-17 23:49:03 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-04-18 13:05:43 +0100 |
commit | 986aec5dbbdfb578945e706cbe6a54c4f06640e5 (patch) | |
tree | d51a8d46628d08088bc1e9beb7c9305202cd991a /railties/lib/console_app.rb | |
parent | cf04e621270bb2e5e9e7971d2c59e73d6797482d (diff) | |
download | rails-986aec5dbbdfb578945e706cbe6a54c4f06640e5.tar.gz rails-986aec5dbbdfb578945e706cbe6a54c4f06640e5.tar.bz2 rails-986aec5dbbdfb578945e706cbe6a54c4f06640e5.zip |
Refactor Dispatcher callbacks to remove unnecessary Dependencies checks in production environment.
Diffstat (limited to 'railties/lib/console_app.rb')
-rw-r--r-- | railties/lib/console_app.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/console_app.rb b/railties/lib/console_app.rb index c7673642ec..88e7962b43 100644 --- a/railties/lib/console_app.rb +++ b/railties/lib/console_app.rb @@ -24,7 +24,7 @@ end def reload! puts "Reloading..." dispatcher = ActionController::Dispatcher.new($stdout) - dispatcher.cleanup_application(true) - dispatcher.prepare_application(true) + dispatcher.cleanup_application + dispatcher.reload_application true end |