|
|
|
|
@ -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}') |
|
|
|
|
|