]> projects.mako.cc - selectricity/blobdiff - config/routes.rb
small number of cosmetic fixes to quickvotes and a minor bugfix that had
[selectricity] / config / routes.rb
index c914447dccc5c090347cfc23abc8fd16d793c7b0..e400b5d8799df320cf22e328a1df1d08fa85527d 100644 (file)
@@ -15,8 +15,7 @@ ActionController::Routing::Routes.draw do |map|
  
   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',

Benjamin Mako Hill || Want to submit a patch?