Fix legacy routes
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
250467e842
commit
708b4991d9
|
@ -153,7 +153,7 @@ $application->registerRoutes(
|
|||
|
||||
/** @var $this \OC\Route\Router */
|
||||
|
||||
$this->create('files_ajax_download', 'ajax/download.php')
|
||||
$this->create('files_ajax_download', 'apps/files/ajax/download.php')
|
||||
->actionInclude('files/ajax/download.php');
|
||||
$this->create('files_ajax_list', 'ajax/list.php')
|
||||
$this->create('files_ajax_list', 'apps/files/ajax/list.php')
|
||||
->actionInclude('files/ajax/list.php');
|
||||
|
|
|
@ -60,11 +60,11 @@
|
|||
]
|
||||
);
|
||||
|
||||
$this->create('files_external_oauth1', 'ajax/oauth1.php')
|
||||
$this->create('files_external_oauth1', 'apps/files_external/ajax/oauth1.php')
|
||||
->actionInclude('files_external/ajax/oauth1.php');
|
||||
$this->create('files_external_oauth2', 'ajax/oauth2.php')
|
||||
$this->create('files_external_oauth2', 'apps/files_external/ajax/oauth2.php')
|
||||
->actionInclude('files_external/ajax/oauth2.php');
|
||||
|
||||
|
||||
$this->create('files_external_list_applicable', '/applicable')
|
||||
$this->create('files_external_list_applicable', '/apps/files_external/applicable')
|
||||
->actionInclude('files_external/ajax/applicable.php');
|
||||
|
|
|
@ -40,9 +40,9 @@ $application->registerRoutes($this, [
|
|||
]);
|
||||
|
||||
/** @var $this \OCP\Route\IRouter */
|
||||
$this->create('files_versions_download', 'download.php')
|
||||
$this->create('files_versions_download', 'apps/files_versions/download.php')
|
||||
->actionInclude('files_versions/download.php');
|
||||
$this->create('files_versions_ajax_getVersions', 'ajax/getVersions.php')
|
||||
$this->create('files_versions_ajax_getVersions', 'apps/files_versions/ajax/getVersions.php')
|
||||
->actionInclude('files_versions/ajax/getVersions.php');
|
||||
$this->create('files_versions_ajax_rollbackVersion', 'ajax/rollbackVersion.php')
|
||||
$this->create('files_versions_ajax_rollbackVersion', 'apps/files_versions/ajax/rollbackVersion.php')
|
||||
->actionInclude('files_versions/ajax/rollbackVersion.php');
|
||||
|
|
|
@ -28,19 +28,19 @@ declare(strict_types=1);
|
|||
*/
|
||||
|
||||
/** @var $this \OCP\Route\IRouter */
|
||||
$this->create('user_ldap_ajax_clearMappings', 'ajax/clearMappings.php')
|
||||
$this->create('user_ldap_ajax_clearMappings', 'apps/user_ldap/ajax/clearMappings.php')
|
||||
->actionInclude('user_ldap/ajax/clearMappings.php');
|
||||
$this->create('user_ldap_ajax_deleteConfiguration', 'ajax/deleteConfiguration.php')
|
||||
$this->create('user_ldap_ajax_deleteConfiguration', 'apps/user_ldap/ajax/deleteConfiguration.php')
|
||||
->actionInclude('user_ldap/ajax/deleteConfiguration.php');
|
||||
$this->create('user_ldap_ajax_getConfiguration', 'ajax/getConfiguration.php')
|
||||
$this->create('user_ldap_ajax_getConfiguration', 'apps/user_ldap/ajax/getConfiguration.php')
|
||||
->actionInclude('user_ldap/ajax/getConfiguration.php');
|
||||
$this->create('user_ldap_ajax_getNewServerConfigPrefix', 'ajax/getNewServerConfigPrefix.php')
|
||||
$this->create('user_ldap_ajax_getNewServerConfigPrefix', 'apps/user_ldap/ajax/getNewServerConfigPrefix.php')
|
||||
->actionInclude('user_ldap/ajax/getNewServerConfigPrefix.php');
|
||||
$this->create('user_ldap_ajax_setConfiguration', 'ajax/setConfiguration.php')
|
||||
$this->create('user_ldap_ajax_setConfiguration', 'apps/user_ldap/ajax/setConfiguration.php')
|
||||
->actionInclude('user_ldap/ajax/setConfiguration.php');
|
||||
$this->create('user_ldap_ajax_testConfiguration', 'ajax/testConfiguration.php')
|
||||
$this->create('user_ldap_ajax_testConfiguration', 'apps/user_ldap/ajax/testConfiguration.php')
|
||||
->actionInclude('user_ldap/ajax/testConfiguration.php');
|
||||
$this->create('user_ldap_ajax_wizard', 'ajax/wizard.php')
|
||||
$this->create('user_ldap_ajax_wizard', 'apps/user_ldap/ajax/wizard.php')
|
||||
->actionInclude('user_ldap/ajax/wizard.php');
|
||||
|
||||
$application = new \OCP\AppFramework\App('user_ldap');
|
||||
|
|
Loading…
Reference in New Issue