projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
first (mostly) working version of full elections.
[selectricity]
/
config
/
routes.rb
diff --git
a/config/routes.rb
b/config/routes.rb
index f763da980f30581afe26449b168263812e239a0b..e2f458d3e2afeed8eea48e44df290ed4b8c0b728 100644
(file)
--- a/
config/routes.rb
+++ b/
config/routes.rb
@@
-15,6
+15,13
@@
ActionController::Routing::Routes.draw do |map|
map.connect '/sitealizer/:action', :controller => 'sitealizer'
map.connect '/sitealizer/:action', :controller => 'sitealizer'
+ map.connect 'voter/:action',
+ :controller => 'voter',
+ :requirements => { :action => /(review|confirm|authenticate|index|login|reminder)/ }
+
+ map.votepassword 'voter/:urlpassword',
+ :controller => 'voter',
+ :action => 'index'
map.connect 'quickvote/:action/:id',
:controller => 'quickvote',
map.connect 'quickvote/:action/:id',
:controller => 'quickvote',
Benjamin Mako Hill
||
Want to submit a patch?