summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-31 12:56:36 +0200
committerkondou <kondou@ts.unde.re>2013-08-31 12:56:36 +0200
commit5d653753bd8f6f1294dfbfa112757e5509ddc80d (patch)
tree54853c3cf28f4d3ec58d7f9230be68e8e70d4998 /core/routes.php
parent30526ded803e352f3f7322ed96ebc480d5e3f9c1 (diff)
parent92e90c8eb995c886b3e9cd77c14e3f0b25b95cd7 (diff)
downloadnextcloud-server-5d653753bd8f6f1294dfbfa112757e5509ddc80d.tar.gz
nextcloud-server-5d653753bd8f6f1294dfbfa112757e5509ddc80d.zip
Merge branch 'master' into oc_avatars
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/routes.php b/core/routes.php
index 640c8fb1bb8..d2ad699bd08 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -42,7 +42,8 @@ $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');
OC::$CLASSPATH['OC_Core_LostPassword_Controller'] = 'core/lostpassword/controller.php';
$this->create('core_lostpassword_index', '/lostpassword/')
->get()