]> projects.mako.cc - selectricity-live/blobdiff - config/routes.rb
updated the git ignore file
[selectricity-live] / config / routes.rb
index 8c52ca077ad23e90fea7493117831242c2b55d9f..8ff6992d906468ba45e6c5bfea0afceeae3573e6 100644 (file)
@@ -27,7 +27,11 @@ ActionController::Routing::Routes.draw do |map|
                    :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)/ }
 

Benjamin Mako Hill || Want to submit a patch?