mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
remove spaces inside {} of IssueStatusesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20470 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fe5523a9f6
commit
11431dd463
@ -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…
x
Reference in New Issue
Block a user