FIX: tags shouldn't be listed as breadcrumbs in web crawler view

This commit is contained in:
Neil Lalonde 2017-02-06 17:35:54 -05:00
parent 2dec731da3
commit 9ec000407f
1 changed files with 0 additions and 7 deletions

View File

@ -15,13 +15,6 @@ module TopicsHelper
breadcrumb.push url: category.url, name: category.name breadcrumb.push url: category.url, name: category.name
end end
if SiteSetting.tagging_enabled && (tags = topic.tags).present?
tags.each do |tag|
url = "#{Discourse.base_url}/tags/#{tag.name}"
breadcrumb << {url: url, name: tag.name}
end
end
Plugin::Filter.apply(:topic_categories_breadcrumb, topic, breadcrumb) Plugin::Filter.apply(:topic_categories_breadcrumb, topic, breadcrumb)
end end