summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/routes.php b/core/routes.php
index dd8222d4378..d8c2d03236f 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -42,20 +42,20 @@ $this->create('js_config', '/core/js/config.js')
// Routing
$this->create('core_ajax_routes', '/core/routes.json')
->action('OC_Router', 'JSRoutes');
-
-OC::$CLASSPATH['OC_Core_LostPassword_Controller'] = 'core/lostpassword/controller.php';
+$this->create('core_ajax_preview', '/core/preview.png')
+ ->actionInclude('core/ajax/preview.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');
// Not specifically routed
$this->create('app_css', '/apps/{app}/{file}')