projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a method, views, and corresponding route so that a user can track the
[selectricity]
/
config
/
routes.rb
diff --git
a/config/routes.rb
b/config/routes.rb
index 96beafd4dde7af51ba160cde5e02fff5794c7dd0..735f5d7c92f2448bf9ba945c624652a0e0b6e67c 100644
(file)
--- a/
config/routes.rb
+++ b/
config/routes.rb
@@
-15,7
+15,7
@@
ActionController::Routing::Routes.draw do |map|
map.connect 'quickvote/:action/:id',
:controller => 'quickvote',
map.connect 'quickvote/:action/:id',
:controller => 'quickvote',
- :requirements => { :action => /(create|add_candidate|sort_candidates)/ }
+ :requirements => { :action => /(create|add_candidate|sort_candidates
|my_quickvotes
)/ }
map.quickaction 'quickvote/:ident/:action',
:controller => 'quickvote',
map.quickaction 'quickvote/:ident/:action',
:controller => 'quickvote',
Benjamin Mako Hill
||
Want to submit a patch?