1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix console

This commit is contained in:
Joshua Peek 2009-05-04 20:02:14 -05:00
parent ccea98389a
commit b9f9dd8fe9

View file

@ -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