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:
Jean-Philippe Lang 2007-01-31 21:20:49 +00:00
parent fa688d48e6
commit d3b831bf7b
1 changed files with 1 additions and 1 deletions

View File

@ -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'