summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/routes.php b/core/routes.php
index be19b66bf72..75cc4d511c0 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -42,7 +42,12 @@ $this->create('js_config', '/core/js/config.js')
// Routing
$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');
+$this->create('core_ajax_trashbin_preview', '/core/trashbinpreview.png')
+ ->actionInclude('core/ajax/trashbinpreview.php');
+$this->create('core_ajax_public_preview', '/core/publicpreview.png')
+ ->actionInclude('core/ajax/publicpreview.php');
OC::$CLASSPATH['OC_Core_LostPassword_Controller'] = 'core/lostpassword/controller.php';
$this->create('core_lostpassword_index', '/lostpassword/')
->get()