From 1b03832b26c2bfb8fa2a2096defe206e850ce5a7 Mon Sep 17 00:00:00 2001 From: evazion Date: Wed, 24 May 2017 16:09:32 -0500 Subject: [PATCH] /forum_topics/$id: fix atom feed discovery link. > Found an issue with the forum topic ATOM discovery link. Currently the > link is visible to feed detectors, but they are unable to add it since > the link provided is invalid. > > --- app/views/forum_topics/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/forum_topics/show.html.erb b/app/views/forum_topics/show.html.erb index 2f74bfefd..fae19d00b 100644 --- a/app/views/forum_topics/show.html.erb +++ b/app/views/forum_topics/show.html.erb @@ -43,6 +43,8 @@ <% end %> <%= content_for(:html_header) do %> + <%= auto_discovery_link_tag(:atom, {format: :atom}, {title: @forum_topic.title}) %> + <% end %> - -<% content_for(:html_header, auto_discovery_link_tag(:atom, forum_topics_url(@forum_topic, :atom), title: @forum_topic.title)) %>