mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix console
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user