I have the following URL:

/images/1.jpg?size=500

Where images is a resource setup via map.resources :images. I want to
take advantage of caching, and caching ignores parameters. So I need to
make size optional in the url:

/images/1/500.jpg

Something like that where the size can be built into the URL. I looked
through all of the map.resources documentation and couldn't find
anything to do this. Any ideas how I can accomplish this?

Thanks for your help.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to