Hi all,
I wanted to know if there are any way to change the view format for based on domain name the same rails app.
For example :
- www.domain.com => respond_to format.html
- api.domain.com => respond_to format.xml or format.json
Thanks all for your help