summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-07-30 12:29:12 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-07-30 12:33:54 +0200
commitac6a3133eca86b853da838ae310534b76e9fb662 (patch)
treed74eab54dcc560ca77b5561892363971d710ee19 /core/routes.php
parent7425efade78a04f20cb3cc83f964c6a00094b6ce (diff)
downloadnextcloud-server-ac6a3133eca86b853da838ae310534b76e9fb662.tar.gz
nextcloud-server-ac6a3133eca86b853da838ae310534b76e9fb662.zip
style fixes
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/routes.php b/core/routes.php
index 41e82f8a73d..75cc4d511c0 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -43,11 +43,11 @@ $this->create('js_config', '/core/js/config.js')
$this->create('core_ajax_routes', '/core/routes.json')
->action('OC_Router', 'JSRoutes');
$this->create('core_ajax_preview', '/core/preview.png')
- ->action('OC\Preview', 'previewRouter');
+ ->actionInclude('core/ajax/preview.php');
$this->create('core_ajax_trashbin_preview', '/core/trashbinpreview.png')
- ->action('OC\Preview', 'trashbinPreviewRouter');
+ ->actionInclude('core/ajax/trashbinpreview.php');
$this->create('core_ajax_public_preview', '/core/publicpreview.png')
- ->action('OC\Preview', 'publicPreviewRouter');
+ ->actionInclude('core/ajax/publicpreview.php');
OC::$CLASSPATH['OC_Core_LostPassword_Controller'] = 'core/lostpassword/controller.php';
$this->create('core_lostpassword_index', '/lostpassword/')
->get()