aboutsummaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-09-04 22:22:56 +0200
committerkondou <kondou@ts.unde.re>2013-09-04 22:22:56 +0200
commit8fd76e39cf52fc9caaf7d2eac365dd03ed6b0cd0 (patch)
tree28a3c97cca0152d869ca6f6c67e83c39f077839b /core/routes.php
parentb643c02bd5b6bdf7e1dbbc549ce2a089a009fbc8 (diff)
downloadnextcloud-server-8fd76e39cf52fc9caaf7d2eac365dd03ed6b0cd0.tar.gz
nextcloud-server-8fd76e39cf52fc9caaf7d2eac365dd03ed6b0cd0.zip
Use proper controller naming
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/routes.php b/core/routes.php
index 9cedcb0956c..388fa934c4d 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -61,19 +61,19 @@ $this->create('core_lostpassword_reset_password', '/lostpassword/reset/{token}/{
// Avatar routes
$this->create('core_avatar_get_tmp', '/avatar/tmp')
->get()
- ->action('OC_Core_Avatar_Controller', 'getTmpAvatar');
+ ->action('OC\Core\Avatar\Controller', 'getTmpAvatar');
$this->create('core_avatar_get', '/avatar/{user}/{size}')
->get()
- ->action('OC_Core_Avatar_Controller', 'getAvatar');
+ ->action('OC\Core\Avatar\Controller', 'getAvatar');
$this->create('core_avatar_post', '/avatar/')
->post()
- ->action('OC_Core_Avatar_Controller', 'postAvatar');
+ ->action('OC\Core\Avatar\Controller', 'postAvatar');
$this->create('core_avatar_delete', '/avatar/')
->delete()
- ->action('OC_Core_Avatar_Controller', 'deleteAvatar');
+ ->action('OC\Core\Avatar\Controller', 'deleteAvatar');
$this->create('core_avatar_post_cropped', '/avatar/cropped')
->post()
- ->action('OC_Core_Avatar_Controller', 'postCroppedAvatar');
+ ->action('OC\Core\Avatar\Controller', 'postCroppedAvatar');
// Not specifically routed
$this->create('app_css', '/apps/{app}/{file}')