]> projects.mako.cc - selectricity-live/blobdiff - config/routes.rb
merged in support for full election results
[selectricity-live] / config / routes.rb
index f763da980f30581afe26449b168263812e239a0b..e2f458d3e2afeed8eea48e44df290ed4b8c0b728 100644 (file)
@@ -15,6 +15,13 @@ ActionController::Routing::Routes.draw do |map|
 
   map.connect '/sitealizer/:action', :controller => 'sitealizer' 
 
 
   map.connect '/sitealizer/:action', :controller => 'sitealizer' 
 
+  map.connect 'voter/:action',
+              :controller => 'voter',
+              :requirements => { :action => /(review|confirm|authenticate|index|login|reminder)/ }
+
+  map.votepassword 'voter/:urlpassword',
+                   :controller => 'voter',
+                   :action => 'index'
 
   map.connect 'quickvote/:action/:id',
                :controller => 'quickvote',
 
   map.connect 'quickvote/:action/:id',
                :controller => 'quickvote',

Benjamin Mako Hill || Want to submit a patch?