summaryrefslogtreecommitdiffstats
path: root/apps/encryption/appinfo/routes.php
diff options
context:
space:
mode:
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'
]