mirror of
https://github.com/flarum/framework.git
synced 2025-04-28 23:54:03 +08:00
parent
9024cabcb3
commit
f606dc7020
@ -67,13 +67,13 @@ class ForumServiceProvider extends ServiceProvider
|
|||||||
);
|
);
|
||||||
|
|
||||||
$routes->get(
|
$routes->get(
|
||||||
'/d/{id:\d+(?:-[^/]*)?}[/{near}]',
|
'/d/{id:\d+(?:-[^/]*)?}[/{near:[^/]*}]',
|
||||||
'flarum.forum.discussion',
|
'flarum.forum.discussion',
|
||||||
$this->action('Flarum\Forum\Actions\DiscussionAction')
|
$this->action('Flarum\Forum\Actions\DiscussionAction')
|
||||||
);
|
);
|
||||||
|
|
||||||
$routes->get(
|
$routes->get(
|
||||||
'/u/{username}[/{filter}]',
|
'/u/{username}[/{filter:[^/]*}]',
|
||||||
'flarum.forum.user',
|
'flarum.forum.user',
|
||||||
$this->action('Flarum\Forum\Actions\ClientAction')
|
$this->action('Flarum\Forum\Actions\ClientAction')
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user