From 5f0aefbbc2320cf455dbfd2bc957571d799dc896 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 9 Nov 2020 13:24:37 +0000 Subject: [PATCH] use "do end" instead of {} at IssueStatusesController git-svn-id: http://svn.redmine.org/redmine/trunk@20313 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/issue_statuses_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/issue_statuses_controller.rb b/app/controllers/issue_statuses_controller.rb index 2b81fecf6..dfd3fbb6b 100644 --- a/app/controllers/issue_statuses_controller.rb +++ b/app/controllers/issue_statuses_controller.rb @@ -57,10 +57,10 @@ class IssueStatusesController < ApplicationController @issue_status.safe_attributes = params[:issue_status] if @issue_status.save respond_to do |format| - format.html { + format.html do flash[:notice] = l(:notice_successful_update) redirect_to issue_statuses_path(:page => params[:page]) - } + end format.js { head 200 } end else -- 2.39.5