]> projects.mako.cc - selectricity/blobdiff - config/routes.rb
User summary method is now more secure. Email change method prtects account SQL injec...
[selectricity] / config / routes.rb
index 8c52ca077ad23e90fea7493117831242c2b55d9f..8ff6992d906468ba45e6c5bfea0afceeae3573e6 100644 (file)
@@ -27,7 +27,11 @@ ActionController::Routing::Routes.draw do |map|
                    :controller => 'voter',
                    :action => 'index'
 
                    :controller => 'voter',
                    :action => 'index'
 
-  map.connect 'quickvote/:action/(open.)?:id',
+  map.kiosk_ready 'voter/kiosk_ready/:urlpassword',
+                  :controller => 'voter',
+                  :action => 'kiosk_ready'
+
+  map.connect 'quickvote/:action/:id',
                :controller => 'quickvote',
                :requirements => { :action => /(create|add_candidate|sort_candidates|my_quickvotes)/ }
 
                :controller => 'quickvote',
                :requirements => { :action => /(create|add_candidate|sort_candidates|my_quickvotes)/ }
 

Benjamin Mako Hill || Want to submit a patch?