map.connect 'quickvote/:action/:id',
:controller => 'quickvote',
- :requirements => { :action => /(create|add_candidate)/ }
-
+ :requirements => { :action => /(create|add_candidate|sort_candidates)/ }
map.quickaction 'quickvote/:votename/:action',
:controller => 'quickvote',