@@ -25,7 +25,7 class TrackersController < ApplicationController | |||
|
25 | 25 | end |
|
26 | 26 | |
|
27 | 27 | # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html) |
|
28 | verify :method => :post, :only => [ :destroy ], :redirect_to => { :action => :list } | |
|
28 | verify :method => :post, :only => [ :destroy, :move ], :redirect_to => { :action => :list } | |
|
29 | 29 | |
|
30 | 30 | def list |
|
31 | 31 | @tracker_pages, @trackers = paginate :trackers, :per_page => 10, :order => 'position' |
General Comments 0
You need to be logged in to leave comments.
Login now