X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/79f6b7581f906943e7e016dfdc3dd8544583beb4..c4eaad1a963dae4c7449ab93cabc8607d4e8f19c:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index a05b803..ee64eab 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -34,8 +34,7 @@ ActionController::Routing::Routes.draw do |map| # # Then reference it with the named route: # image_tag graph_url(:action => 'show', :id => 42) - map.graph "graphs/:action/:id/image.png", :controller => "graphs" - map.graph "graphs/:action/image.png", :controller => "graphs" #pics w/o id's + map.graph "graph/:action/:id/graph.png", :controller => "graph" # Install the default route as the lowest priority. map.connect ':controller/:action/:id.:format'