[openstreetmap-website] Site cleanup (#150)

Saman Bemel-Benrud notifications at github.com
Mon Jan 7 20:17:42 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] %>

If I understand correctly, the lines:

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

needs to be wrapped in `<% unless params[:friends] or params[:nearby] -%>`, right? 

What exactly is the `auto_discovery_link_tag` doing here?

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


More information about the rails-dev mailing list