Christopher J. Bottaro
2006-Nov-16 21:10 UTC
routing what looks like static files to a controller?
Hello, I noticed that image_tag() likes to append an extension onto the src path if it doesn''t already have one. That''s all fine and good, but how do I get that resulting path to be routed to a controller/action? For instance, the url: /content/thumbnail/123.jpg fails to get routed to :controller => ''content'', :action => ''thumbnail'' How do I make it get routed to that controller/action? Thanks for the help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---