From: Tom Hughes Date: Sat, 7 Dec 2013 14:33:52 +0000 (+0000) Subject: Put all feed discovery tags in the auto_discovery_link_tag section X-Git-Tag: live~4567 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/ab3c8a2d045105ec8584adb69b1f4763be9e4315?hp=512c02b364dbcd0138ca41d20a3d9c42b52e06c7 Put all feed discovery tags in the auto_discovery_link_tag section --- diff --git a/app/views/diary_entry/list.html.erb b/app/views/diary_entry/list.html.erb index a715d1524..0f3415fb6 100644 --- a/app/views/diary_entry/list.html.erb +++ b/app/views/diary_entry/list.html.erb @@ -50,7 +50,7 @@ <% end %> <% unless params[:friends] or params[:nearby] -%> - <% content_for :head do -%> + <% content_for :auto_discovery_link_tag do -%> <%= auto_discovery_link_tag :rss, :action => 'rss', :language => params[:language] %> <% end -%> <% end -%> diff --git a/app/views/trace/list.html.erb b/app/views/trace/list.html.erb index cd72ee406..1e89e963d 100644 --- a/app/views/trace/list.html.erb +++ b/app/views/trace/list.html.erb @@ -18,7 +18,7 @@ <% end %> -<% content_for :head do %> +<% content_for :auto_discovery_link_tag do %> <%= auto_discovery_link_tag :rss, :action => 'georss', :display_name => @display_name, :tag => @tag %> <% end %>