From 9254343117d673cdbaee3e9b0a77a1e71e391c45 Mon Sep 17 00:00:00 2001 From: Robert Schilling Date: Mon, 18 Sep 2017 11:09:00 +0200 Subject: Fix notification message when admin label was modified --- app/controllers/admin/labels_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1