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
|
#reloads the environment
|
||||||
def reload!
|
def reload!
|
||||||
puts "Reloading..."
|
puts "Reloading..."
|
||||||
Dispatcher.cleanup_application
|
dispatcher = ActionController::Dispatcher.new
|
||||||
Dispatcher.reload_application
|
dispatcher.cleanup_application
|
||||||
|
dispatcher.reload_application
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue