Keeping format in link_to

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.