diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-11-19 09:35:10 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-11-19 09:35:10 -0100 |
commit | fd5ee215227cd9387ee43513b3ffcac8587a025e (patch) | |
tree | 6075bb6851013938bcad5a29c614910ecbe70041 /appinfo | |
parent | 94d653640c460a328cb5d53738760050fedbabea (diff) |
following
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index df7b2a87..1dd4f1c5 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -12,12 +12,16 @@ return [ ['name' => 'Navigation#navigate', 'url' => '/', 'verb' => 'GET'], ['name' => 'Navigation#test', 'url' => '/test', 'verb' => 'GET'], - ['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#public', 'url' => '/{username}', 'verb' => 'GET'], + ['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#public', 'url' => '/{username}', 'verb' => 'GET'], -// ['name' => 'Account#create', 'url' => '/local/account/{username}', 'verb' => 'POST'], + // ['name' => 'Account#create', 'url' => '/local/account/{username}', 'verb' => 'POST'], ['name' => 'Account#info', 'url' => '/local/account/{username}', 'verb' => 'GET'], |