]> source.dussan.org Git - redmine.git/commitdiff
use "do end" instead of {} at IssueStatusesController
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 9 Nov 2020 13:24:37 +0000 (13:24 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 9 Nov 2020 13:24:37 +0000 (13:24 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20313 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/issue_statuses_controller.rb

index 2b81fecf66dd92695ad55c6df53812b310273336..dfd3fbb6b08c2ea68a98bfc953bee65ad76677b6 100644 (file)
@@ -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