Changed minor CSS issue.
[selectricity-live] / config / routes.rb
index ee64eabaa4a50025e4a467d04ade5b11a782d1b9..735f5d7c92f2448bf9ba945c624652a0e0b6e67c 100644 (file)
@@ -15,13 +15,13 @@ ActionController::Routing::Routes.draw do |map|
  
   map.connect 'quickvote/:action/:id',
                :controller => 'quickvote',
-               :requirements => { :action => /(create|add_candidate|sort_candidates)/ }
+               :requirements => { :action => /(create|add_candidate|sort_candidates|my_quickvotes)/ }
 
-  map.quickaction 'quickvote/:votename/:action',
+  map.quickaction 'quickvote/:ident/:action',
                   :controller => 'quickvote',
                        :requirements => { :action => /(change|confirm|results)/ }
 
-  map.quickvote 'quickvote/:votename',
+  map.quickvote 'quickvote/:ident',
                 :controller => 'quickvote', :action => 'index'
 
   # Allow downloading Web Service WSDL as a file with an extension

Benjamin Mako Hill || Want to submit a patch?