X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/9129a21b28c88064edfcfc8a8fa23a640f29819c..bef19cbd240e996414af3e5c84fb1f8d8357340f:/config/routes.rb?ds=inline 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)/ }