]> projects.mako.cc - selectricity-live/blobdiff - config/routes.rb
Added code to check for previously uploaded custom images and delete them, the newly...
[selectricity-live] / config / routes.rb
index 8c52ca077ad23e90fea7493117831242c2b55d9f..efd6a28e9fba914f696a9f78303ea6f3fc97ebc1 100644 (file)
@@ -27,7 +27,7 @@ ActionController::Routing::Routes.draw do |map|
                    :controller => 'voter',
                    :action => 'index'
 
                    :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)/ }
 
                :controller => 'quickvote',
                :requirements => { :action => /(create|add_candidate|sort_candidates|my_quickvotes)/ }
 

Benjamin Mako Hill || Want to submit a patch?