vendor/rails/railties/lib/console_app.rb in radiant-0.6.9 vs vendor/rails/railties/lib/console_app.rb in radiant-0.7.0
- old
+ new
@@ -22,9 +22,9 @@
#reloads the environment
def reload!
puts "Reloading..."
dispatcher = ActionController::Dispatcher.new($stdout)
- dispatcher.cleanup_application(true)
- dispatcher.prepare_application(true)
+ dispatcher.cleanup_application
+ dispatcher.reload_application
true
end