Merge pull request #36008 from nextcloud/bugfix/noid/files-routes

This commit is contained in:
John Molakvoæ 2023-01-05 10:31:33 +01:00 committed by GitHub
commit 0e6a8d72f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,18 +57,6 @@ $application->registerRoutes(
'url' => '/',
'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}',
@ -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' => [
[