From ddb6b7d1e9ce7b4c446f87e3721691f8ccddebc8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 25 Jan 2014 13:17:08 +0000 Subject: [PATCH] Successful update notice for workflows (#15831). git-svn-id: http://svn.redmine.org/redmine/trunk@12706 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/workflows_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/workflows_controller.rb b/app/controllers/workflows_controller.rb index c216cc9db..5cfba3c62 100644 --- a/app/controllers/workflows_controller.rb +++ b/app/controllers/workflows_controller.rb @@ -38,6 +38,7 @@ class WorkflowsController < ApplicationController } } if @role.save + flash[:notice] = l(:notice_successful_update) redirect_to workflows_edit_path(:role_id => @role, :tracker_id => @tracker, :used_statuses_only => params[:used_statuses_only]) return end @@ -64,6 +65,7 @@ class WorkflowsController < ApplicationController if request.post? && @role && @tracker WorkflowPermission.replace_permissions(@tracker, @role, params[:permissions] || {}) + flash[:notice] = l(:notice_successful_update) redirect_to workflows_permissions_path(:role_id => @role, :tracker_id => @tracker, :used_statuses_only => params[:used_statuses_only]) return end -- 2.39.5