Variety of small changes (mostly to properties) plus a few "in the
[selectricity-live] / config / routes.rb
old mode 100644 (file)
new mode 100755 (executable)
index d1092a0..e400b5d
@@ -13,9 +13,9 @@ ActionController::Routing::Routes.draw do |map|
   # -- 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',

Benjamin Mako Hill || Want to submit a patch?