sort route config
This commit is contained in:
parent
062e472314
commit
488504314a
|
@ -132,17 +132,17 @@ return [
|
||||||
'/home' => [Module\Home::class, [R::GET]],
|
'/home' => [Module\Home::class, [R::GET]],
|
||||||
'/help[/{doc:.+}]' => [Module\Help::class, [R::GET]],
|
'/help[/{doc:.+}]' => [Module\Help::class, [R::GET]],
|
||||||
'/inbox[/{nickname}]' => [Module\Inbox::class, [R::GET, R::POST]],
|
'/inbox[/{nickname}]' => [Module\Inbox::class, [R::GET, R::POST]],
|
||||||
|
'/invite' => [Module\Invite::class, [R::GET, R::POST]],
|
||||||
'/item' => [
|
|
||||||
'/ignore/{id}' => [Module\Item\Ignore::class, [R::GET]],
|
|
||||||
],
|
|
||||||
|
|
||||||
'/invite' => [Module\Invite::class, [R::GET, R::POST]],
|
|
||||||
|
|
||||||
'/install' => [
|
'/install' => [
|
||||||
'[/]' => [Module\Install::class, [R::GET, R::POST]],
|
'[/]' => [Module\Install::class, [R::GET, R::POST]],
|
||||||
'/testrewrite' => [Module\Install::class, [R::GET]],
|
'/testrewrite' => [Module\Install::class, [R::GET]],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
'/item' => [
|
||||||
|
'/ignore/{id}' => [Module\Item\Ignore::class, [R::GET]],
|
||||||
|
],
|
||||||
|
|
||||||
'/like/{item:\d+}' => [Module\Like::class, [R::GET]],
|
'/like/{item:\d+}' => [Module\Like::class, [R::GET]],
|
||||||
'/localtime' => [Module\Debug\Localtime::class, [R::GET, R::POST]],
|
'/localtime' => [Module\Debug\Localtime::class, [R::GET, R::POST]],
|
||||||
'/login' => [Module\Login::class, [R::GET, R::POST]],
|
'/login' => [Module\Login::class, [R::GET, R::POST]],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user