Rails routes and various XML templates
My application needs to serve the same data in XML to two different providers that have specific formatting requests.
What's the best way to set up my routes so that I can have the following:
http://www.site.com/posts/provider1.xml
http://www.site.com/posts/provider2.xml
(Where provider 1 and 2 are separate templates)
Thanks.
0
a source to share