diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-04-12 11:08:26 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-04-13 11:28:42 +0200 |
commit | a4683bcfa9d2670a5284b7b27f0a475de8be44b7 (patch) | |
tree | 78ebd2ddc0224993dcd9c2aac6cfbea20d47871f /apps/files/appinfo | |
parent | 3f492dd82681ca92e9e86acfcf1c15dfcfcf34cf (diff) | |
download | nextcloud-server-a4683bcfa9d2670a5284b7b27f0a475de8be44b7.tar.gz nextcloud-server-a4683bcfa9d2670a5284b7b27f0a475de8be44b7.zip |
persist file sorting changes
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r-- | apps/files/appinfo/application.php | 3 | ||||
-rw-r--r-- | apps/files/appinfo/routes.php | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/apps/files/appinfo/application.php b/apps/files/appinfo/application.php index 593e0533c80..2d2decf6288 100644 --- a/apps/files/appinfo/application.php +++ b/apps/files/appinfo/application.php @@ -43,7 +43,8 @@ class Application extends App { $server->getUserSession(), $c->query('TagService'), $server->getPreviewManager(), - $server->getShareManager() + $server->getShareManager(), + $server->getConfig() ); }); diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php index 731c671b60a..6ad938101a2 100644 --- a/apps/files/appinfo/routes.php +++ b/apps/files/appinfo/routes.php @@ -1,6 +1,7 @@ <?php /** * @author Bart Visscher <bartv@thisnet.nl> + * @author Christoph Wurst <christoph@winzerhof-wurst.at> * @author Lukas Reschke <lukas@owncloud.com> * @author Roeland Jago Douma <rullzer@owncloud.com> * @author Tobias Kaminsky <tobias@kaminsky.me> @@ -48,6 +49,11 @@ $application->registerRoutes( 'verb' => 'GET', 'requirements' => array('tagName' => '.+'), ), + array( + 'name' => 'API#updateFileSorting', + 'url' => '/api/v1/sorting', + 'verb' => 'POST' + ), [ 'name' => 'view#index', 'url' => '/', |