aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2023-01-05 10:31:33 +0100
committerGitHub <noreply@github.com>2023-01-05 10:31:33 +0100
commit0e6a8d72f8e5f71a6dcc0c9ecee6268405b8797f (patch)
treec29b994f2ea26d97290fc22586f9b0cf28f57061 /apps
parentb3b941b136223a5970e18ad72d6223253db53589 (diff)
parentdbf6f4c81b589a06b91ffeb53a36d5dfd15a5149 (diff)
downloadnextcloud-server-0e6a8d72f8e5f71a6dcc0c9ecee6268405b8797f.tar.gz
nextcloud-server-0e6a8d72f8e5f71a6dcc0c9ecee6268405b8797f.zip
Merge pull request #36008 from nextcloud/bugfix/noid/files-routes
Diffstat (limited to 'apps')
-rw-r--r--apps/files/appinfo/routes.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php
index 60ba6afdf7a..1de9cad56b2 100644
--- a/apps/files/appinfo/routes.php
+++ b/apps/files/appinfo/routes.php
@@ -58,18 +58,6 @@ $application->registerRoutes(
'verb' => 'GET',
],
[
- 'name' => 'view#index',
- 'url' => '/{view}',
- 'verb' => 'GET',
- 'postfix' => 'view',
- ],
- [
- 'name' => 'view#index',
- 'url' => '/{view}/{fileid}',
- 'verb' => 'GET',
- 'postfix' => 'fileid',
- ],
- [
'name' => 'View#showFile',
'url' => '/f/{fileid}',
'verb' => 'GET',
@@ -147,6 +135,18 @@ $application->registerRoutes(
'url' => '/directEditing/{token}',
'verb' => 'GET'
],
+ [
+ 'name' => 'view#index',
+ 'url' => '/{view}',
+ 'verb' => 'GET',
+ 'postfix' => 'view',
+ ],
+ [
+ 'name' => 'view#index',
+ 'url' => '/{view}/{fileid}',
+ 'verb' => 'GET',
+ 'postfix' => 'fileid',
+ ],
],
'ocs' => [
[