From ac32b1c5a5d9149a8956739ddf51dab97e71a3e9 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Tue, 25 Mar 2014 16:20:13 -0400 Subject: [PATCH] Also show new sub-category badge in the message at the bottom of a topic --- app/assets/javascripts/discourse/views/topic_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/views/topic_view.js b/app/assets/javascripts/discourse/views/topic_view.js index 074e1a5ab6e..2bc93a4d9a3 100644 --- a/app/assets/javascripts/discourse/views/topic_view.js +++ b/app/assets/javascripts/discourse/views/topic_view.js @@ -189,7 +189,7 @@ Discourse.TopicView = Discourse.View.extend(Discourse.Scrolling, { } if (category) { - opts.catLink = Discourse.HTML.categoryLink(category); + opts.catLink = Discourse.HTML.categoryLink(category, {showParent: true}); } else { opts.catLink = "" + I18n.t("topic.browse_all_categories") + ""; }