Displaying 1 result from an estimated 1 matches for "cheef".
Did you mean:
chef
2008 Sep 11
2
respond_to and format
Hello!
I use a "format" parameter in my application for internal calculations.
But Rails catches it and uses for view name.
I mean, if I go to url:
myapp.com/foo/?format=xml
Rails tries to show me index.xml.erb view, but I don''t want this! I want
the application to continue showing index.html.erb template.
How can I do this?
Thanks :)