mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +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:
parent
6ed20316b0
commit
aea6657837
@ -28,7 +28,7 @@ class TrackersController < ApplicationController
|
|||||||
def index
|
def index
|
||||||
@trackers = Tracker.sorted.to_a
|
@trackers = Tracker.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
|
||||||
@ -70,7 +70,7 @@ class TrackersController < ApplicationController
|
|||||||
flash[:notice] = l(:notice_successful_update)
|
flash[:notice] = l(:notice_successful_update)
|
||||||
redirect_to trackers_path(:page => params[:page])
|
redirect_to trackers_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|
|
||||||
@ -78,7 +78,7 @@ class TrackersController < ApplicationController
|
|||||||
edit
|
edit
|
||||||
render :action => 'edit'
|
render :action => 'edit'
|
||||||
end
|
end
|
||||||
format.js { head 422 }
|
format.js {head 422}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user