mirror of
https://github.com/flarum/core.git
synced 2025-08-08 09:26:34 +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) {
|
export default function (app) {
|
||||||
app.routes = {
|
app.routes = {
|
||||||
index: { path: '/all', component: IndexPage },
|
index: { path: '/all', component: IndexPage },
|
||||||
'index.filter': { path: '/:filter', component: IndexPage },
|
|
||||||
|
|
||||||
discussion: { path: '/d/:id', component: DiscussionPage },
|
discussion: { path: '/d/:id', component: DiscussionPage },
|
||||||
'discussion.near': { path: '/d/:id/:near', component: DiscussionPage },
|
'discussion.near': { path: '/d/:id/:near', component: DiscussionPage },
|
||||||
@@ -24,6 +23,8 @@ export default function (app) {
|
|||||||
|
|
||||||
settings: { path: '/settings', component: SettingsPage },
|
settings: { path: '/settings', component: SettingsPage },
|
||||||
notifications: { path: '/notifications', component: NotificationsPage },
|
notifications: { path: '/notifications', component: NotificationsPage },
|
||||||
|
|
||||||
|
'index.filter': { path: '/:filter', component: IndexPage },
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user