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-28 01:11:09 +0300
committerJose Ivan Vargas <jvargas@gitlab.com>2018-03-02 01:10:04 +0300
commitf42397d19a735de2e5ae38725270614826ec05da (patch)
tree36286a97975b687eac5dd12f3f9c369125d3189b /app/controllers/projects/labels_controller.rb
parent84e01b3e7a521c66077245a62247bd47a3731ddb (diff)
Add persistent flash messages
Diffstat (limited to 'app/controllers/projects/labels_controller.rb')
-rw-r--r--app/controllers/projects/labels_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/projects/labels_controller.rb b/app/controllers/projects/labels_controller.rb
index 439c11b0bf3..a9fc890b28c 100644
--- a/app/controllers/projects/labels_controller.rb
+++ b/app/controllers/projects/labels_controller.rb
@@ -1,5 +1,6 @@
class Projects::LabelsController < Projects::ApplicationController
include ToggleSubscriptionAction
+ include FlashHelper
before_action :check_issuables_available!
before_action :label, only: [:edit, :update, :destroy, :promote]
@@ -114,7 +115,7 @@ class Projects::LabelsController < Projects::ApplicationController
respond_to do |format|
format.html do
- redirect_to(project_labels_path(@project), status: 303)
+ redirect_to(project_labels_path(@project, body_data: get_body_data_page(project_labels_path(@project))), status: 303)
end
format.js
end