From 9ec000407faf6980a3ec2d842eec16d8f58cde16 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Mon, 6 Feb 2017 17:35:54 -0500 Subject: [PATCH] FIX: tags shouldn't be listed as breadcrumbs in web crawler view --- app/helpers/topics_helper.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/helpers/topics_helper.rb b/app/helpers/topics_helper.rb index 56a73338311..677e72ae2b3 100644 --- a/app/helpers/topics_helper.rb +++ b/app/helpers/topics_helper.rb @@ -15,13 +15,6 @@ module TopicsHelper breadcrumb.push url: category.url, name: category.name 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) end