wrong url?
check "myapp.com/foo.xml"

On 11 сент, 14:50, Konstantin <[EMAIL PROTECTED]> wrote:
> 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 :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to