summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-09-18 13:26:35 +0000
committerRémy Coutable <remy@rymai.me>2017-09-18 13:26:35 +0000
commitc8d1673a8a008c144724ea8359e59ca265e19762 (patch)
tree4850622735c713c0a2a188f428622c4315fd9ad2
parent4cadf22e208e3be401824f43ab13d5e6f2ff6465 (diff)
parent9254343117d673cdbaee3e9b0a77a1e71e391c45 (diff)
downloadgitlab-ce-c8d1673a8a008c144724ea8359e59ca265e19762.tar.gz
Merge branch 'fix-label-message' into 'master'
Fix notification message when admin label was modified See merge request gitlab-org/gitlab-ce!14330
-rw-r--r--app/controllers/admin/labels_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/labels_controller.rb b/app/controllers/admin/labels_controller.rb
index cbc7a14ae83..7eb8f758807 100644
--- a/app/controllers/admin/labels_controller.rb
+++ b/app/controllers/admin/labels_controller.rb
@@ -29,7 +29,7 @@ class Admin::LabelsController < Admin::ApplicationController
@label = Labels::UpdateService.new(label_params).execute(@label)
if @label.valid?
- redirect_to admin_labels_path, notice: 'label was successfully updated.'
+ redirect_to admin_labels_path, notice: 'Label was successfully updated.'
else
render :edit
end