Keeping format in link_to

Hello, if a action/id.something is called with the link_to urls don’t
keep the format ? I mean the link_to calls inside the view don’t
maintain the .something and generate unformatted links

How can I do to keep the format ?

How about posting the actual link_to so we know what you are trying to
accomplish…

If I do link_to “xml”, resource_url(:format => :xml) that gives me /
resource.xml in rails 2.3.4 if thats what you want.

On Sep 21, 7:18 am, Bob M. [email protected]