diff options
author | Julius Härtl <jus@bitgrid.net> | 2023-01-05 08:10:33 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2023-01-05 08:10:33 +0100 |
commit | dbf6f4c81b589a06b91ffeb53a36d5dfd15a5149 (patch) | |
tree | 2fa340a05dc408bfd94a87a7525b29dbe1e40f10 /apps/files/appinfo | |
parent | 18164ae5163496639737757702f59d52c0c9c657 (diff) | |
download | nextcloud-server-dbf6f4c81b589a06b91ffeb53a36d5dfd15a5149.tar.gz nextcloud-server-dbf6f4c81b589a06b91ffeb53a36d5dfd15a5149.zip |
fix(files): Make sure that static routes on /apps/files still work
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r-- | apps/files/appinfo/routes.php | 24 |
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' => [ [ |