Browse Source

remove spaces inside {} of TrackersController

git-svn-id: http://svn.redmine.org/redmine/trunk@20435 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.0
Toshi MARUYAMA 3 years ago
parent
commit
aea6657837
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      app/controllers/trackers_controller.rb

+ 3
- 3
app/controllers/trackers_controller.rb 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

Loading…
Cancel
Save