summaryrefslogtreecommitdiffstats
path: root/apps/encryption/appinfo/routes.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-03-30 11:49:03 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:28 +0200
commita85e2e0bfdb86de029f7b5fde42ead60498aed82 (patch)
treedfd3ef5d49e3be52e533e2ecd95547f8a08f41ec /apps/encryption/appinfo/routes.php
parent4aa125cc0a2b5a129c4f97d807f7a225a7620199 (diff)
downloadnextcloud-server-a85e2e0bfdb86de029f7b5fde42ead60498aed82.tar.gz
nextcloud-server-a85e2e0bfdb86de029f7b5fde42ead60498aed82.zip
make recovery settings work
Diffstat (limited to 'apps/encryption/appinfo/routes.php')
-rw-r--r--apps/encryption/appinfo/routes.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/encryption/appinfo/routes.php b/apps/encryption/appinfo/routes.php
index a86f3717ce9..b2c00c83349 100644
--- a/apps/encryption/appinfo/routes.php
+++ b/apps/encryption/appinfo/routes.php
@@ -20,17 +20,17 @@
*/
-use OCP\AppFramework\App;
+namespace OCA\Encryption\AppInfo;
-(new App('encryption'))->registerRoutes($this, array('routes' => array(
+(new Application())->registerRoutes($this, array('routes' => array(
[
- 'name' => 'recovery#adminRecovery',
+ 'name' => 'Recovery#adminRecovery',
'url' => '/ajax/adminRecovery',
'verb' => 'POST'
],
[
- 'name' => 'recovery#userRecovery',
+ 'name' => 'Recovery#userRecovery',
'url' => '/ajax/userRecovery',
'verb' => 'POST'
]