mirror of
https://github.com/flarum/core.git
synced 2025-08-08 01:16:52 +02:00
fix: forum/routes /:filter handling /settings
This commit is contained in:
committed by
Franz Liedke
parent
95f4dc771d
commit
8475d176e0
@@ -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 },
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user