From f02aca3f6ee295485d5bb9bc99b85b5573716f17 Mon Sep 17 00:00:00 2001
From: Georg Ehrke <georg@ownCloud.com>
Date: Thu, 25 Apr 2013 11:42:40 +0200
Subject: [PATCH] add route for previews

---
 core/routes.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/routes.php b/core/routes.php
index be19b66bf7..be5766cea9 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')
+	->action('OC_Preview', 'previewRouter');
 OC::$CLASSPATH['OC_Core_LostPassword_Controller'] = 'core/lostpassword/controller.php';
 $this->create('core_lostpassword_index', '/lostpassword/')
 	->get()
-- 
GitLab