diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-07-04 17:45:07 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-07-05 18:38:35 +0900 |
commit | 1bfa818a1f3ac9c40a8d4fc727cfe848efcef962 (patch) | |
tree | 27907eae54897500b321fbc55475ddcb4f72c215 /app | |
parent | 2f70f3fa35f4bce54350e87d75add4823d4b3ebe (diff) | |
download | gitlab-ce-1bfa818a1f3ac9c40a8d4fc727cfe848efcef962.tar.gz |
zj nice catchies 3
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/projects/pipeline_schedules_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/pipeline_schedules_controller.rb b/app/controllers/projects/pipeline_schedules_controller.rb index f0ac0e7098c..aa71f606657 100644 --- a/app/controllers/projects/pipeline_schedules_controller.rb +++ b/app/controllers/projects/pipeline_schedules_controller.rb @@ -53,7 +53,7 @@ class Projects::PipelineSchedulesController < Projects::ApplicationController redirect_to pipeline_schedules_path(@project), status: 302 else redirect_to pipeline_schedules_path(@project), - status: 302, + status: :forbidden, alert: _("Failed to remove the pipeline schedule") end end |