diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-12-19 09:48:07 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-12-20 11:07:49 +0100 |
commit | 4253672fc10cf2c35bd5dba6928bc03a085b294a (patch) | |
tree | efd4ff8cf1117056342ea6d4310fe95cf9e48d19 /appinfo | |
parent | e6b52524d40bf0f1611558c46c13b63125eb8530 (diff) |
Rework frontend controllers for page rendering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 506a89aa..dc309c09 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -43,19 +43,11 @@ return [ 'name' => 'Navigation#timeline', 'url' => '/timeline/{path}', 'verb' => 'GET', 'requirements' => ['path' => '.+'], 'defaults' => ['path' => ''] ], - [ - 'name' => 'Navigation#account', 'url' => '/account/{path}', 'verb' => 'GET', - 'requirements' => ['path' => '.+'], 'defaults' => ['path' => ''] - ], ['name' => 'Navigation#documentGet', 'url' => '/document/get', 'verb' => 'GET'], ['name' => 'Navigation#documentGetPublic', 'url' => '/document/public', 'verb' => 'GET'], - // ['name' => 'Account#create', 'url' => '/local/account/{username}', 'verb' => 'POST'], - ['name' => 'Account#info', 'url' => '/local/account/{username}', 'verb' => 'GET'], - - ['name' => 'ActivityPub#actor', 'url' => '/users/{username}', 'verb' => 'GET'], - ['name' => 'ActivityPub#actorAlias', 'url' => '/@{username}', 'verb' => 'GET'], + ['name' => 'ActivityPub#actorAlias', 'url' => '/@{username}/', 'verb' => 'GET'], ['name' => 'ActivityPub#inbox', 'url' => '/@{username}/inbox', 'verb' => 'POST'], ['name' => 'ActivityPub#sharedInbox', 'url' => '/inbox', 'verb' => 'POST'], ['name' => 'ActivityPub#outbox', 'url' => '/@{username}/outbox', 'verb' => 'POST'], |