@@ -25,7 +25,7 class TrackersController < ApplicationController | |||||
25 | end |
|
25 | end | |
26 |
|
26 | |||
27 | # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html) |
|
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 | def list |
|
30 | def list | |
31 | @tracker_pages, @trackers = paginate :trackers, :per_page => 10, :order => 'position' |
|
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