In my application I have a RESTful named route:
And I’m attempting to generate a URL like:
using the discussion_url helper method.
discussion_url(:id => @discussion.id, :format => ‘atom’)
just generates /discussions/27, ignoring the format parameter.
Anyone know the correct way of doing this? As far as I can see, the
docs have nothing to say on the matter.