X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/9129a21b28c88064edfcfc8a8fa23a640f29819c..57886e0afdac6da60651284daee1e088feb14537:/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)/ }