I can't seem to find how to define the format in my links. My link looks
like this now:
<%= link_to 'Show', resource_path(@resource) %>
But how do I specify the format? Do I realy need to create the url
myself?
Thank you in advance.
--
Posted via http://www.ruby-forum.com/.
xxx.xml and not like
xxx?format=xml ?
I have
map.connect ':controller/:action/:id.:format'
specified in my routes.rb
Thank you for the quick reply btw