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 }); }); } };