Hi there, do you know how to write router syntax to catch requests for
images that end with say, a url param called "thumbnail"?

For example, a request for "/images/path/to/any/image.jpg?thumbnail"
would be handled by a "thumbnails/show" controller/action. (The
controller also needs to receive the path of the requested image)

Something like this pseudo code:
match('*.jpg?thumbnail').to(:controller => 'thumbnails', :action =>
'show', :imagePath => ??? )

Many thanks,
George
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to