summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-29 16:56:32 +0200
committerkondou <kondou@ts.unde.re>2013-08-29 16:56:32 +0200
commitc533b8068292e2b265c3c73f3ad9e5de0e98a81d (patch)
treecc14a75014956c8ef13617b18a3894fca2c3f6fc /core/routes.php
parent0c708be76bd7c7449779ef12e48e99d9c2cd3d82 (diff)
downloadnextcloud-server-c533b8068292e2b265c3c73f3ad9e5de0e98a81d.tar.gz
nextcloud-server-c533b8068292e2b265c3c73f3ad9e5de0e98a81d.zip
Use OC_Cache and finish cropper functionality
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/routes.php b/core/routes.php
index 25f64a18830..640c8fb1bb8 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -68,8 +68,7 @@ $this->create('core_avatar_post', '/avatar/')
$this->create('core_avatar_delete', '/avatar/')
->delete()
->action('OC_Core_Avatar_Controller', 'deleteAvatar');
-$this->create('core_avatar_get_tmp', '/avatartmp/{size}') //TODO better naming, so it doesn't conflict with core_avatar_get
- ->defaults(array('size' => 64))
+$this->create('core_avatar_get_tmp', '/avatartmp/') //TODO better naming, so it doesn't conflict with core_avatar_get
->get()
->action('OC_Core_Avatar_Controller', 'getTmpAvatar');
$this->create('core_avatar_post_cropped', '/avatar/cropped')