- map.connect '', :controller => "site"
-
- map.connect 'quickvote/create',
- :controller => 'quickvote',
- :action => 'create'
+ map.connect 'index.html', :controller => "site", :action => "index"
+ map.connect '', :controller => "site", :action => "index"
+ map.connect '/sitealizer/:action', :controller => 'sitealizer'
+ map.connect 'quickvote/:action/:id',
+ :controller => 'quickvote',
+ :requirements => { :action => /(create|add_candidate|sort_candidates|my_quickvotes)/ }