diff --git a/app/helpers/topics_helper.rb b/app/helpers/topics_helper.rb index 857e1fc9005..56a73338311 100644 --- a/app/helpers/topics_helper.rb +++ b/app/helpers/topics_helper.rb @@ -15,7 +15,7 @@ module TopicsHelper breadcrumb.push url: category.url, name: category.name end - if (tags = topic.tags).present? + 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} diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index b227aa3c620..6542cb3967d 100644 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -18,16 +18,6 @@ <% end %> -<%- if SiteSetting.tagging_enabled && @topic_view.topic.tags.present? %> -
- <%= t 'js.tagging.tags' %>: - - <%- @topic_view.topic.tags.each do |t| %> - <%= t %> - <%- end %> -
-<% end %> - <%= server_plugin_outlet "topic_header" %>