mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix console
This commit is contained in:
parent
ccea98389a
commit
b9f9dd8fe9
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue