X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/adfcf4dd7d989d0560e2a8f6a590dd10c5a49a08..90a5a1b95e6ec0b5f9aa2db522215463a2909920:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 8c52ca0..8ff6992 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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)/ }