From 8475d176e020687d0f6853cf284b606105ab1501 Mon Sep 17 00:00:00 2001 From: David Sevilla Martin Date: Sat, 8 Aug 2020 16:19:38 -0400 Subject: [PATCH] fix: forum/routes /:filter handling /settings --- js/src/forum/routes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/forum/routes.js b/js/src/forum/routes.js index fe72d4905..bfb7683a4 100644 --- a/js/src/forum/routes.js +++ b/js/src/forum/routes.js @@ -13,7 +13,6 @@ import NotificationsPage from './components/NotificationsPage'; export default function (app) { app.routes = { index: { path: '/all', component: IndexPage }, - 'index.filter': { path: '/:filter', component: IndexPage }, discussion: { path: '/d/:id', component: DiscussionPage }, 'discussion.near': { path: '/d/:id/:near', component: DiscussionPage }, @@ -24,6 +23,8 @@ export default function (app) { settings: { path: '/settings', component: SettingsPage }, notifications: { path: '/notifications', component: NotificationsPage }, + + 'index.filter': { path: '/:filter', component: IndexPage }, }; /**