From d3b831bf7b55a40122deadab072b0b37db157e34 2007-01-31 21:20:49 From: Jean-Philippe Lang Date: 2007-01-31 21:20:49 Subject: [PATCH] post method verification for trackers/move git-svn-id: http://redmine.rubyforge.org/svn/trunk@210 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/trackers_controller.rb b/app/controllers/trackers_controller.rb index 173f63c..0059049 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'