diff options
author | Georg Ehrke <georg@ownCloud.com> | 2013-05-22 15:12:25 +0200 |
---|---|---|
committer | Georg Ehrke <georg@ownCloud.com> | 2013-05-22 15:13:02 +0200 |
commit | 00985068ca249f4087f9f5b634e628afb8e8f7b1 (patch) | |
tree | 5dc369f596350dbe478548fb1fd4d03a383cd375 /core/routes.php | |
parent | 13c6ef1ba9c3f857150679d164852d8724ab946f (diff) | |
download | nextcloud-server-00985068ca249f4087f9f5b634e628afb8e8f7b1.tar.gz nextcloud-server-00985068ca249f4087f9f5b634e628afb8e8f7b1.zip |
add previews for public files
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php index be5766cea9d..c45ffee26fd 100644 --- a/core/routes.php +++ b/core/routes.php @@ -44,6 +44,8 @@ $this->create('core_ajax_routes', '/core/routes.json') ->action('OC_Router', 'JSRoutes'); $this->create('core_ajax_preview', '/core/preview.png') ->action('OC_Preview', 'previewRouter'); +$this->create('core_ajax_public_preview', '/core/publicpreview.png') + ->action('OC_Preview', 'publicPreviewRouter'); OC::$CLASSPATH['OC_Core_LostPassword_Controller'] = 'core/lostpassword/controller.php'; $this->create('core_lostpassword_index', '/lostpassword/') ->get() |