Permalink
Browse files

Fix console

  • Loading branch information...
1 parent ccea983 commit b9f9dd8fe9d84c22450c1cf24b6c8a41eae8bbfd @josh josh committed May 5, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −2 railties/lib/console_app.rb
@@ -26,7 +26,8 @@ def new_session
#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

0 comments on commit b9f9dd8

Please sign in to comment.