diff options
author | Georg Ehrke <georg@ownCloud.com> | 2013-04-25 11:42:40 +0200 |
---|---|---|
committer | Georg Ehrke <georg@ownCloud.com> | 2013-04-25 11:42:40 +0200 |
commit | f02aca3f6ee295485d5bb9bc99b85b5573716f17 (patch) | |
tree | c102b91a4ebf497bbd26137b90d7b4fc5d0b185b /core/routes.php | |
parent | 9ef449842a369c2517f5c34932b502b754393ce0 (diff) | |
download | nextcloud-server-f02aca3f6ee295485d5bb9bc99b85b5573716f17.tar.gz nextcloud-server-f02aca3f6ee295485d5bb9bc99b85b5573716f17.zip |
add route for previews
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/routes.php b/core/routes.php index be19b66bf72..be5766cea9d 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() |