Skip to content

Commit

Permalink
COMPATIBILITY: remove deprecated routes
Browse files Browse the repository at this point in the history
  • Loading branch information
merefield committed Nov 4, 2020
1 parent f4332f9 commit 2e927e0
Showing 1 changed file with 1 addition and 5 deletions.
Expand Up @@ -15,9 +15,7 @@ export default {
let discoveryTopicRoutes = [];
let discoveryCategoryRoutes = [
'Category',
'ParentCategory',
'CategoryNone',
'CategoryWithID'
'CategoryNone'
];
let filters = site.get('filters');
filters.push('top');
Expand All @@ -26,7 +24,6 @@ export default {
discoveryTopicRoutes.push(filterCapitalized);
discoveryCategoryRoutes.push(...[
`${filterCapitalized}Category`,
`${filterCapitalized}ParentCategory`,
`${filterCapitalized}CategoryNone`
]);
});
Expand All @@ -36,7 +33,6 @@ export default {
discoveryTopicRoutes.push(`Top${periodCapitalized}`);
discoveryCategoryRoutes.push(...[
`Top${periodCapitalized}Category`,
`Top${periodCapitalized}ParentCategory`,
`Top${periodCapitalized}CategoryNone`
]);
});
Expand Down

0 comments on commit 2e927e0

Please sign in to comment.