From d3b831bf7b55a40122deadab072b0b37db157e34 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 31 Jan 2007 21:20:49 +0000 Subject: [PATCH] post method verification for trackers/move git-svn-id: http://redmine.rubyforge.org/svn/trunk@210 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/trackers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/trackers_controller.rb b/app/controllers/trackers_controller.rb index 173f63c48..00590494c 100644 --- a/app/controllers/trackers_controller.rb +++ b/app/controllers/trackers_controller.rb @@ -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'