FIX: routes for tag nav items
This commit is contained in:
parent
930f2e1b68
commit
de99853dee
|
@ -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 New Issue