Commit 92543431 authored by Robert Schilling's avatar Robert Schilling

Fix notification message when admin label was modified

parent d97b3fa4
......@@ -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
......
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