mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
FIX: routes for tag nav items
This commit is contained in:
parent
930f2e1b68
commit
de99853dee
1 changed files with 3 additions and 3 deletions
|
@ -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 });
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue