summaryrefslogtreecommitdiffstats
path: root/settings/routes.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-08 23:31:26 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-09 18:05:09 +0200
commitceeb44bd04f2606bea4c94107850157719127581 (patch)
tree7ecb64a3ca929a7b3a721cfed65c65bf0c61831d /settings/routes.php
parentedeb41ccaff186b116852df4caf8df144db682c8 (diff)
downloadnextcloud-server-ceeb44bd04f2606bea4c94107850157719127581.tar.gz
nextcloud-server-ceeb44bd04f2606bea4c94107850157719127581.zip
Initial work on Apps page split:
* interfaces for the Admin settings (IAdmin) and section (ISection) * SettingsManager service * example setup with LDAP app
Diffstat (limited to 'settings/routes.php')
-rw-r--r--settings/routes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/routes.php b/settings/routes.php
index 94732b3192a..f77da543e10 100644
--- a/settings/routes.php
+++ b/settings/routes.php
@@ -64,6 +64,8 @@ $application->registerRoutes($this, [
['name' => 'Certificate#removePersonalRootCertificate', 'url' => '/settings/personal/certificate/{certificateIdentifier}', 'verb' => 'DELETE'],
['name' => 'Certificate#addSystemRootCertificate', 'url' => '/settings/admin/certificate', 'verb' => 'POST'],
['name' => 'Certificate#removeSystemRootCertificate', 'url' => '/settings/admin/certificate/{certificateIdentifier}', 'verb' => 'DELETE'],
+ ['name' => 'AdminSettings#index', 'url' => '/settings/admin/{section}', 'verb' => 'GET', 'defaults' => ['section' => 'server']],
+ ['name' => 'AdminSettings#form', 'url' => '/settings/admin/{section}', 'verb' => 'GET'],
]
]);
@@ -76,8 +78,6 @@ $this->create('settings_personal', '/settings/personal')
->actionInclude('settings/personal.php');
$this->create('settings_users', '/settings/users')
->actionInclude('settings/users.php');
-$this->create('settings_admin', '/settings/admin')
- ->actionInclude('settings/admin.php');
// Settings ajax actions
// users
$this->create('settings_ajax_setquota', '/settings/ajax/setquota.php')