diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-01-08 17:37:00 +0100 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2018-01-18 10:05:40 +0100 |
commit | 76f16bbf719a52b110f7efffb3ced63ab7effa61 (patch) | |
tree | a1f33e93890a428fdd2224f9e1cd7e4feae8e921 /app/controllers | |
parent | 3b13159d9c83e8ce679663ce264854ea94bee8a2 (diff) | |
download | gitlab-ce-76f16bbf719a52b110f7efffb3ced63ab7effa61.tar.gz |
Add modal for stopping jobs in admin area
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/admin/jobs_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/jobs_controller.rb b/app/controllers/admin/jobs_controller.rb index 5162273ef8a..ae7a7f6279c 100644 --- a/app/controllers/admin/jobs_controller.rb +++ b/app/controllers/admin/jobs_controller.rb @@ -20,6 +20,6 @@ class Admin::JobsController < Admin::ApplicationController def cancel_all Ci::Build.running_or_pending.each(&:cancel) - redirect_to admin_jobs_path + redirect_to admin_jobs_path, status: 303 end end |