post method verification for trackers/move
git-svn-id: http://redmine.rubyforge.org/svn/trunk@210 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fa688d48e6
commit
d3b831bf7b
|
@ -25,7 +25,7 @@ class TrackersController < ApplicationController
|
|||
end
|
||||
|
||||
# GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
|
||||
verify :method => :post, :only => [ :destroy ], :redirect_to => { :action => :list }
|
||||
verify :method => :post, :only => [ :destroy, :move ], :redirect_to => { :action => :list }
|
||||
|
||||
def list
|
||||
@tracker_pages, @trackers = paginate :trackers, :per_page => 10, :order => 'position'
|
||||
|
|
Loading…
Reference in New Issue