diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-10-17 10:54:46 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-10-17 11:05:54 +0200 |
commit | a307bb285ee6f01982dbc7fde05ff34d038cf1d6 (patch) | |
tree | 884605307cb1e51ee6264f63fed25c36c63e6d28 /apps/settings/appinfo | |
parent | bd5189f29fc5b4340298f98f2f7a49aa3a157131 (diff) | |
download | nextcloud-server-a307bb285ee6f01982dbc7fde05ff34d038cf1d6.tar.gz nextcloud-server-a307bb285ee6f01982dbc7fde05ff34d038cf1d6.zip |
Move help to controller
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/settings/appinfo')
-rw-r--r-- | apps/settings/appinfo/routes.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/settings/appinfo/routes.php b/apps/settings/appinfo/routes.php index b55bea0de68..3c80cc05386 100644 --- a/apps/settings/appinfo/routes.php +++ b/apps/settings/appinfo/routes.php @@ -89,12 +89,7 @@ $application->registerRoutes($this, [ ['name' => 'ChangePassword#changeUserPassword', 'url' => '/settings/users/changepassword', 'verb' => 'POST'], ['name' => 'TwoFactorSettings#index', 'url' => '/settings/api/admin/twofactorauth', 'verb' => 'GET'], ['name' => 'TwoFactorSettings#update', 'url' => '/settings/api/admin/twofactorauth', 'verb' => 'PUT'], + + ['name' => 'Help#help', 'url' => '/settings/help/{mode}', 'verb' => 'GET', 'defaults' => ['mode' => '']], ] ]); - -/** @var $this \OCP\Route\IRouter */ - -// Settings pages -$this->create('settings_help', '/settings/help') - ->actionInclude('settings/help.php'); - |