Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2018-02-17 03:11:36 +0300
committerJose Ivan Vargas <jvargas@gitlab.com>2018-03-02 01:10:03 +0300
commitd5c001864964afb73efca0c6b592f8a1e4d152b9 (patch)
treec1859c340ae1f161a0ae6897ee4997c896a2a9fa /app/controllers/projects/labels_controller.rb
parent5c4eace67f188da436b3b380a0125d053b29422a (diff)
Added vue based promotion modals for labels and milestones
Diffstat (limited to 'app/controllers/projects/labels_controller.rb')
-rw-r--r--app/controllers/projects/labels_controller.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/projects/labels_controller.rb b/app/controllers/projects/labels_controller.rb
index e0f4710175f..439c11b0bf3 100644
--- a/app/controllers/projects/labels_controller.rb
+++ b/app/controllers/projects/labels_controller.rb
@@ -114,8 +114,7 @@ class Projects::LabelsController < Projects::ApplicationController
respond_to do |format|
format.html do
- redirect_to(project_labels_path(@project),
- notice: 'Label was promoted to a Group Label')
+ redirect_to(project_labels_path(@project), status: 303)
end
format.js
end