X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/adfcf4dd7d989d0560e2a8f6a590dd10c5a49a08..2a72af9b37793ded87c42042bd431495d1475c39:/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)/ }