From aea6657837859901b2cb8ecc6596bd50e2e3ba2e Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 19 Nov 2020 13:30:46 +0000 Subject: [PATCH] remove spaces inside {} of TrackersController git-svn-id: http://svn.redmine.org/redmine/trunk@20435 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/trackers_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/trackers_controller.rb b/app/controllers/trackers_controller.rb index 0d8bed419..fdb5f0e37 100644 --- a/app/controllers/trackers_controller.rb +++ b/app/controllers/trackers_controller.rb @@ -28,7 +28,7 @@ class TrackersController < ApplicationController def index @trackers = Tracker.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 @@ -70,7 +70,7 @@ class TrackersController < ApplicationController flash[:notice] = l(:notice_successful_update) redirect_to trackers_path(:page => params[:page]) end - format.js { head 200 } + format.js {head 200} end else respond_to do |format| @@ -78,7 +78,7 @@ class TrackersController < ApplicationController edit render :action => 'edit' end - format.js { head 422 } + format.js {head 422} end end end -- 2.39.5