Hi,

I'd like to support URLs of the form "/assets/:id" where :id can be a
filename like string that may have multiple extensions like
"foo.ps.gz".  Currently if I use a resource route for this it sees the
final ".gz" as a request for a given MIME type, but I'd like the
controller action to receive the whole filename in :id.

I can do this with a match route, but is it possible to use a resource
route so I can still use the resource() helper etc, but not have the
MIME type matching rules apply?

Thanks,

Stu

--~--~---------~--~----~------------~-------~--~----~
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