Fix notification message when admin label was modified
This commit is contained in:
parent
d97b3fa478
commit
9254343117
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue