diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-09 13:24:37 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-09 13:24:37 +0000 |
commit | 5f0aefbbc2320cf455dbfd2bc957571d799dc896 (patch) | |
tree | 9f72975f5d40d56d6c25ddad950f7192cbe14ea1 /app/controllers/issue_statuses_controller.rb | |
parent | 796fc2db9d3a9ffb4c3a67d66661cb08b149d7d0 (diff) | |
download | redmine-5f0aefbbc2320cf455dbfd2bc957571d799dc896.tar.gz redmine-5f0aefbbc2320cf455dbfd2bc957571d799dc896.zip |
use "do end" instead of {} at IssueStatusesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20313 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issue_statuses_controller.rb')
-rw-r--r-- | app/controllers/issue_statuses_controller.rb | 4 |
1 files 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 |