aboutsummaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-09-12 07:41:44 +0200
committerkondou <kondou@ts.unde.re>2013-09-12 07:41:44 +0200
commitc9c5e1b97f2c5951dffc8104e22a315654780118 (patch)
tree6b4a67fe094bea99facab6883c774c611b8f7b80 /core/routes.php
parent037cf22c518b6f3e6a462577c49159a1fae2442d (diff)
parentb7205d97d7797daf057d47a5a07d2bad3b0db4da (diff)
downloadnextcloud-server-c9c5e1b97f2c5951dffc8104e22a315654780118.tar.gz
nextcloud-server-c9c5e1b97f2c5951dffc8104e22a315654780118.zip
Merge branch 'master' into oc_avatars
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/core/routes.php b/core/routes.php
index 388fa934c4d..57e25c0f1f7 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -44,19 +44,18 @@ $this->create('core_ajax_routes', '/core/routes.json')
->action('OC_Router', 'JSRoutes');
$this->create('core_ajax_preview', '/core/preview.png')
->actionInclude('core/ajax/preview.php');
-OC::$CLASSPATH['OC_Core_LostPassword_Controller'] = 'core/lostpassword/controller.php';
$this->create('core_lostpassword_index', '/lostpassword/')
->get()
- ->action('OC_Core_LostPassword_Controller', 'index');
+ ->action('OC\Core\LostPassword\Controller', 'index');
$this->create('core_lostpassword_send_email', '/lostpassword/')
->post()
- ->action('OC_Core_LostPassword_Controller', 'sendEmail');
+ ->action('OC\Core\LostPassword\Controller', 'sendEmail');
$this->create('core_lostpassword_reset', '/lostpassword/reset/{token}/{user}')
->get()
- ->action('OC_Core_LostPassword_Controller', 'reset');
+ ->action('OC\Core\LostPassword\Controller', 'reset');
$this->create('core_lostpassword_reset_password', '/lostpassword/reset/{token}/{user}')
->post()
- ->action('OC_Core_LostPassword_Controller', 'resetPassword');
+ ->action('OC\Core\LostPassword\Controller', 'resetPassword');
// Avatar routes
$this->create('core_avatar_get_tmp', '/avatar/tmp')