Restore base profile URL behavior

- Add new profile-specific route
This commit is contained in:
Hypolite Petovan 2020-01-26 09:54:21 -05:00
parent f2d917114f
commit 46c4bfe580
4 changed files with 312 additions and 284 deletions

View file

@ -206,6 +206,7 @@ return [
'/profile' => [
'/{nickname}' => [Module\Profile\Index::class, [R::GET]],
'/{nickname}/profile' => [Module\Profile\Profile::class, [R::GET]],
'/{nickname}/contacts[/{type}]' => [Module\Profile\Contacts::class, [R::GET]],
'/{nickname}/status[/{category}[/{date1}[/{date2}]]]' => [Module\Profile\Status::class, [R::GET]],
],