app/controllers/myreplicator/home_controller.rb in myreplicator-1.1.48 vs app/controllers/myreplicator/home_controller.rb in myreplicator-1.1.49
- old
+ new
@@ -39,10 +39,10 @@
end
def resume
flash[:notice] = "Resume All DR Jobs"
require 'rake'
- Rake::Task.load(Rails.root.to_s + "/lib/tasks/" + "resque.rake")
+ Rake::Task.load(Rails.root.to_s + "/lib/tasks/" + "maintenance.rake")
resque_reload = Rake::Task['maintenance:start_dr_jobs']
resque_reload.reenable
resque_reload.execute(ENV["RAILS_ENV"])
redirect_to :action => 'index'
end