Browse Source

remove spaces inside {} of IssueStatusesController

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

+ 4
- 4
app/controllers/issue_statuses_controller.rb View 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

Loading…
Cancel
Save