openstreetmap-website/app/views/changeset/list.html.erb
Tom Hughes 2adcfc1a72 Don't allow paging of the changeset atom feed
Make any request for a changeset feed with a page argument redirect
to the version with no page argument and ensure that any RSS links on
the HTML version of the changeset list don't have a page argument.
2010-08-09 13:47:21 +01:00

12 lines
450 B
Text

<h1><%= @heading %></h1>
<p><%= @description %></p>
<%= render :partial => 'changeset_paging_nav' %>
<%= render :partial => 'changesets', :locals => { :showusername => !params.has_key?(:display_name) } %>
<%= render :partial => 'changeset_paging_nav' %>
<%= atom_link_to params.merge({ :page => nil, :format => :atom }) %>
<% content_for :head do %>
<%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :format => :atom }) %>
<% end %>