Skip to content

Commit

Permalink
Merge 1214579 into 3309f20
Browse files Browse the repository at this point in the history
  • Loading branch information
wutong627 committed Sep 9, 2014
2 parents 3309f20 + 1214579 commit 9e35f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/batch_manager/batches_controller.rb
Expand Up @@ -41,7 +41,7 @@ def exec
if resque_supported?
Resque.enqueue(BatchManager::ExecBatchWorker, @batch_name, :wet => @wet)
if local_resque_worker?
redirect_to(log_batch_url(:batch_name => @batch_name, :wet => @wet, :refresh => true))
redirect_to(batches_url, :notice => "(#{@batch_name}) Task added to the remote resque worker.")
else
redirect_to(batches_url, :notice => "(#{@batch_name}) Task added to the remote resque worker.")
end
Expand Down

0 comments on commit 9e35f42

Please sign in to comment.