Closed cheesun closed 10 years ago
You can do it by putting a route in front of mers that sets the transformer. You can register one also but I don't remember how.
Sent from my iPhone
On Nov 27, 2013, at 8:54 AM, cheesun notifications@github.com wrote:
Don't see any facility to define a default transformer on a resource - ie; one that does not require passing transform= in the url.
Let me know if I'm just not looking hard enough at the docs/code.
Otherwise, I would be happy to implement and raise a pull request for it.
— Reply to this email directly or view it on GitHubhttps://github.com/jspears/mers/issues/23 .
Don't see any facility to define a default transformer on a resource - ie; one that does not require passing transform=transformer_name in the url.
Let me know if I'm just not looking hard enough at the docs/code.
Otherwise, I would be happy to implement and raise a pull request for it.