# -- just remember to delete public/index.html.
map.connect '', :controller => "site"
- map.connect 'quickvote/create',
+ map.connect 'quickvote/:action/:id',
:controller => 'quickvote',
- :action => 'create'
+ :requirements => { :action => /(create|add_candidate|sort_candidates)/ }
map.quickaction 'quickvote/:votename/:action',
:controller => 'quickvote',