* Renamed graphs_controller to graph_controller.
[selectricity] / config / routes.rb
index a05b80376764f5dc4829db0b02f06bfc21a3961a..ee64eabaa4a50025e4a467d04ade5b11a782d1b9 100644 (file)
@@ -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'

Benjamin Mako Hill || Want to submit a patch?