summaryrefslogtreecommitdiffstats
path: root/app/controllers/trackers_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-31 21:20:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-31 21:20:49 +0000
commitd3b831bf7b55a40122deadab072b0b37db157e34 (patch)
tree1d842de1fec3da35e185ed077fb8cce62f9c4bd3 /app/controllers/trackers_controller.rb
parentfa688d48e673abfa8711beb69995aaf3d41069d1 (diff)
downloadredmine-d3b831bf7b55a40122deadab072b0b37db157e34.tar.gz
redmine-d3b831bf7b55a40122deadab072b0b37db157e34.zip
post method verification for trackers/move
git-svn-id: http://redmine.rubyforge.org/svn/trunk@210 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/trackers_controller.rb')
-rw-r--r--app/controllers/trackers_controller.rb2
1 files changed, 1 insertions, 1 deletions
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'