mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 23:11:12 +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
|
def index
|
||||||
@issue_statuses = IssueStatus.sorted.to_a
|
@issue_statuses = IssueStatus.sorted.to_a
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html { render :layout => false if request.xhr? }
|
format.html {render :layout => false if request.xhr?}
|
||||||
format.api
|
format.api
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -61,12 +61,12 @@ class IssueStatusesController < ApplicationController
|
|||||||
flash[:notice] = l(:notice_successful_update)
|
flash[:notice] = l(:notice_successful_update)
|
||||||
redirect_to issue_statuses_path(:page => params[:page])
|
redirect_to issue_statuses_path(:page => params[:page])
|
||||||
end
|
end
|
||||||
format.js { head 200 }
|
format.js {head 200}
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html { render :action => 'edit' }
|
format.html {render :action => 'edit'}
|
||||||
format.js { head 422 }
|
format.js {head 422}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user