diff --git a/app/assets/javascripts/discourse/components/utilities.js b/app/assets/javascripts/discourse/components/utilities.js index 2a08c38ce..60719fe0e 100644 --- a/app/assets/javascripts/discourse/components/utilities.js +++ b/app/assets/javascripts/discourse/components/utilities.js @@ -29,14 +29,6 @@ Discourse.Utilities = { } }, - categoryUrlId: function(category) { - if (!category) return ""; - var id = Em.get(category, 'id'); - var slug = Em.get(category, 'slug'); - if ((!slug) || slug.isBlank()) return "" + id + "-category"; - return slug; - }, - // Create a badge like category link categoryLink: function(category) { if (!category) return ""; @@ -47,7 +39,7 @@ Discourse.Utilities = { var description = Em.get(category, 'description'); // Build the HTML link - var result = "