From 11431dd463492644e1831fb9af59bf5aa3f3a1fc Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 22 Nov 2020 12:58:38 +0000 Subject: [PATCH] remove spaces inside {} of IssueStatusesController git-svn-id: http://svn.redmine.org/redmine/trunk@20470 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/issue_statuses_controller.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/controllers/issue_statuses_controller.rb b/app/controllers/issue_statuses_controller.rb index dfd3fbb6b..965db525d 100644 --- a/app/controllers/issue_statuses_controller.rb +++ b/app/controllers/issue_statuses_controller.rb @@ -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 -- 2.39.5