]> projects.mako.cc - selectricity-live/blobdiff - config/routes.rb
fix security issue
[selectricity-live] / config / routes.rb
index 8c52ca077ad23e90fea7493117831242c2b55d9f..efd6a28e9fba914f696a9f78303ea6f3fc97ebc1 100644 (file)
@@ -27,7 +27,7 @@ ActionController::Routing::Routes.draw do |map|
                    :controller => 'voter',
                    :action => 'index'
 
-  map.connect 'quickvote/:action/(open.)?:id',
+  map.connect 'quickvote/:action/:id',
                :controller => 'quickvote',
                :requirements => { :action => /(create|add_candidate|sort_candidates|my_quickvotes)/ }
 

Benjamin Mako Hill || Want to submit a patch?