Commit c8d1673a authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'fix-label-message' into 'master'

Fix notification message when admin label was modified

See merge request gitlab-org/gitlab-ce!14330
parents 4cadf22e 92543431
...@@ -29,7 +29,7 @@ class Admin::LabelsController < Admin::ApplicationController ...@@ -29,7 +29,7 @@ class Admin::LabelsController < Admin::ApplicationController
@label = Labels::UpdateService.new(label_params).execute(@label) @label = Labels::UpdateService.new(label_params).execute(@label)
if @label.valid? if @label.valid?
redirect_to admin_labels_path, notice: 'label was successfully updated.' redirect_to admin_labels_path, notice: 'Label was successfully updated.'
else else
render :edit render :edit
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment