]> projects.mako.cc - selectricity-live/blobdiff - config/routes.rb
Variety of small changes (mostly to properties) plus a few "in the
[selectricity-live] / config / routes.rb
old mode 100644 (file)
new mode 100755 (executable)
index c914447..e400b5d
@@ -15,8 +15,7 @@ ActionController::Routing::Routes.draw do |map|
  
   map.connect 'quickvote/:action/:id',
               :controller => 'quickvote',
  
   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',
 
   map.quickaction 'quickvote/:votename/:action',
                   :controller => 'quickvote',

Benjamin Mako Hill || Want to submit a patch?