Forgot that /history can also be called without a bbox (if one can't be found)

I think the best thing to do here is to simply remove the RSS link, if
someone wants a RSS feed without a bbox they can click the Recent
Changes link and get a feed there.
This commit is contained in:
Ævar Arnfjörð Bjarmason 2009-06-07 02:53:24 +00:00
parent 0d16fd57d4
commit b1117365d2

View file

@ -39,8 +39,13 @@ end
%> %>
<br> <br>
<%= rss_link_to :action => 'list_bbox_rss', :bbox => @bbox.join(",") %> <% if @bbox %>
<%= rss_link_to :action => 'list_bbox_rss', :bbox => @bbox.join(",") %>
<% content_for :head do %> <% end %>
<%= auto_discovery_link_tag :atom, :controller => 'changeset', :action => 'list_bbox_rss', :bbox => @bbox.join(",") %>
<% if @bbox %>
<% content_for :head do %>
<%= auto_discovery_link_tag :atom, :controller => 'changeset', :action => 'list_bbox_rss', :bbox => @bbox.join(",") %>
<% end %>
<% end %> <% end %>