From de99853deedf0f2e06e1bd02e25eed1de0e35d2c Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Tue, 26 Jul 2016 12:39:26 -0400 Subject: [PATCH] FIX: routes for tag nav items --- .../pre-initializers/dynamic-route-builders.js.es6 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/pre-initializers/dynamic-route-builders.js.es6 b/app/assets/javascripts/discourse/pre-initializers/dynamic-route-builders.js.es6 index f627573e7..93eddde83 100644 --- a/app/assets/javascripts/discourse/pre-initializers/dynamic-route-builders.js.es6 +++ b/app/assets/javascripts/discourse/pre-initializers/dynamic-route-builders.js.es6 @@ -64,9 +64,9 @@ export default { app["TagsShowParentCategoryRoute"] = TagsShowRoute.extend(); site.get('filters').forEach(function(filter) { - app["TagsShow" + filter.capitalize() + "Route"] = TagsShowRoute.extend({ filterMode: filter }); - app["TagsShowCategory" + filter.capitalize() + "Route"] = TagsShowRoute.extend({ filterMode: filter }); - app["TagsShowParentCategory" + filter.capitalize() + "Route"] = TagsShowRoute.extend({ filterMode: filter }); + app["TagsShow" + filter.capitalize() + "Route"] = TagsShowRoute.extend({ navMode: filter }); + app["TagsShowCategory" + filter.capitalize() + "Route"] = TagsShowRoute.extend({ navMode: filter }); + app["TagsShowParentCategory" + filter.capitalize() + "Route"] = TagsShowRoute.extend({ navMode: filter }); }); } };