]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/list.html.erb
Sanitise parameters used in URL generation
[rails.git] / app / views / diary_entry / list.html.erb
index a715d152419d9eba1b271ee8ac5b16cb227a0cef..0f3415fb64a7eb6436e54e9285312acae9ef43b1 100644 (file)
@@ -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 -%>