mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
BUGFIX: rss feed link for topics has been broken ever since we upgraded rails
This commit is contained in:
parent
e8dcd8ab71
commit
60a3641cc5
@ -25,10 +25,10 @@
|
|||||||
<p><%= t 'powered_by_html' %></p>
|
<p><%= t 'powered_by_html' %></p>
|
||||||
|
|
||||||
<% content_for :head do %>
|
<% content_for :head do %>
|
||||||
<%= auto_discovery_link_tag(@topic_view, {action: :feed, format: :rss, slug: @topic_view.topic.slug, topic_id: @topic_view.topic.id}, title: t('rss_posts_in_topic', topic: @topic_view.title), type: 'application/rss+xml') %>
|
<%= auto_discovery_link_tag(@topic_view, {action: :feed, slug: @topic_view.topic.slug, topic_id: @topic_view.topic.id}, title: t('rss_posts_in_topic', topic: @topic_view.title), type: 'application/rss+xml') %>
|
||||||
<%= crawlable_meta_data(title: @topic_view.title,
|
<%= crawlable_meta_data(title: @topic_view.title,
|
||||||
description: @topic_view.summary,
|
description: @topic_view.summary,
|
||||||
image: @topic_view.image_url) %>
|
image: @topic_view.image_url) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% content_for(:title) { @topic_view.title } %>
|
<% content_for(:title) { @topic_view.title } %>
|
||||||
|
Loading…
Reference in New Issue
Block a user