]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of IssueStatusesController
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 22 Nov 2020 12:58:38 +0000 (12:58 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 22 Nov 2020 12:58:38 +0000 (12:58 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20470 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/issue_statuses_controller.rb

index dfd3fbb6b08c2ea68a98bfc953bee65ad76677b6..965db525d3fce26dc3c3847c72c09439cdb6c898 100644 (file)
@@ -28,7 +28,7 @@ class IssueStatusesController < ApplicationController
   def index
     @issue_statuses = IssueStatus.sorted.to_a
     respond_to do |format|
-      format.html { render :layout => false if request.xhr? }
+      format.html {render :layout => false if request.xhr?}
       format.api
     end
   end
@@ -61,12 +61,12 @@ class IssueStatusesController < ApplicationController
           flash[:notice] = l(:notice_successful_update)
           redirect_to issue_statuses_path(:page => params[:page])
         end
-        format.js { head 200 }
+        format.js {head 200}
       end
     else
       respond_to do |format|
-        format.html { render :action => 'edit' }
-        format.js { head 422 }
+        format.html {render :action => 'edit'}
+        format.js {head 422}
       end
     end
   end