diff options
author | kondou <kondou@ts.unde.re> | 2014-08-03 11:31:28 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2014-09-04 15:23:55 +0200 |
commit | 2a4c51389c23ab1da47d52be9f2e76cd90f2df01 (patch) | |
tree | b50145fa66fe889045a0dbac963dd4b9865bf827 /core/routes.php | |
parent | 0f2ad9862e98e00fdc250bf8405bf6404d40b1ed (diff) | |
download | nextcloud-server-2a4c51389c23ab1da47d52be9f2e76cd90f2df01.tar.gz nextcloud-server-2a4c51389c23ab1da47d52be9f2e76cd90f2df01.zip |
Use a route instead of s.php and convert tokens asap
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php index 28a3680dd91..fac67f23175 100644 --- a/core/routes.php +++ b/core/routes.php @@ -100,6 +100,11 @@ $this->create('core_avatar_post_cropped', '/avatar/cropped') ->post() ->action('OC\Core\Avatar\Controller', 'postCroppedAvatar'); +// Sharing routes +$this->create('core_share_show_share', '/s/{token}') + ->get() + ->action('OC\Core\Share\Controller', 'showShare'); + // used for heartbeat $this->create('heartbeat', '/heartbeat')->action(function(){ // do nothing |