Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/photos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-11 10:16:12 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-11 10:16:12 +0300
commitf895fa76ee1ee7659f9ce24b3d8df5c661172d98 (patch)
treedb5077a35d99994dbbbd34a91a9d9d0a362143c1 /appinfo
parent9c94a3e10fb3345ed57df27f44d51dde2f7ff733 (diff)
Add album fetch routes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php10
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'],
+ ]
];