1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

remove spaces inside {} of TrackersController

git-svn-id: http://svn.redmine.org/redmine/trunk@20435 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-11-19 13:30:46 +00:00
parent 6ed20316b0
commit aea6657837

View File

@ -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