diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-11 10:16:12 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-11 10:16:12 +0300 |
commit | f895fa76ee1ee7659f9ce24b3d8df5c661172d98 (patch) | |
tree | db5077a35d99994dbbbd34a91a9d9d0a362143c1 /appinfo | |
parent | 9c94a3e10fb3345ed57df27f44d51dde2f7ff733 (diff) |
Add album fetch routes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index a3b607f6..e862093f 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -22,8 +22,10 @@ */ return [ - 'routes' => [ - ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'], - ['name' => 'page#index', 'url' => '/{path}', 'verb' => 'GET', 'postfix' => 'folder', 'requirements' => ['path' => '.+']], - ] + 'routes' => [ + ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'], + //['name' => 'page#index', 'url' => '/{path}', 'verb' => 'GET', 'postfix' => 'folder', 'requirements' => ['path' => '.+']], + ['name' => 'albums#myAlbums', 'url' => '/albums', 'verb' => 'GET'], + ['name' => 'albums#sharedAlbums', 'url' => '/shared', 'verb' => 'GET'], + ] ]; |