I would like to provide Atom feeds in response to different actions.
I am aware that eg map.resources :posts helps me generate a feed
as a request for /posts.:format, but as I am getting into problems,
I see that I do not have the full understanding of what is going on.
I would like to do the same (but with a different dataset) for other
actions such as /posts/today or /posts/yesterday.
For instance, I have created app/views/posts/today.atom.builder file,
and in today.html.erb view I put
<%= auto_discovery_link_tag :atom, url_for(:action => 'today') %>
but clicking on the feed icon in Firefox only reloads the html page,
while explicitly requesting posts/today.atom produces:
ActionController::RoutingError (No route matches "/pots/today.atom"
What am I missing? Should I specify a new named route?