[openstreetmap-website] Site cleanup (#150)

Tom Hughes notifications at github.com
Mon Jan 7 20:21:03 GMT 2013


>  <% end %>
>  
> -<% unless params[:friends] or params[:nearby] -%>
> -<%= rss_link_to :action => 'rss', :language => params[:language] %>
> -
>  <% content_for :head do -%>
>  <%= auto_discovery_link_tag :atom, :action => 'rss', :language => params[:language] %>

See http://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html#method-i-auto_discovery_link_tag - basically it adds a link tag to trigger the browser to display an RSS icon.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/150/files#r2568924
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130107/07103e82/attachment.html>


More information about the rails-dev mailing list