diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-09-28 23:15:19 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-09-28 23:20:17 +0200 |
commit | d0bd2bbf2728cdf472044d76aea97f0d4809774a (patch) | |
tree | 508179301cdf66fb9cb3b101047cd8d5888a1e65 /core/routes.php | |
parent | dbdf3bde7ccf721cfc1efa4d13262bd6f444de73 (diff) | |
download | nextcloud-server-d0bd2bbf2728cdf472044d76aea97f0d4809774a.tar.gz nextcloud-server-d0bd2bbf2728cdf472044d76aea97f0d4809774a.zip |
Convert menu entries of settings pages to use router
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php index 04b42d20598..9a84eb64a3b 100644 --- a/core/routes.php +++ b/core/routes.php @@ -6,6 +6,21 @@ * See the COPYING-README file. */ +// Core settings pages +$this->create('settings_help', '/settings/help') + ->actionInclude('settings/help.php'); +$this->create('settings_personal', '/settings/personal') + ->actionInclude('settings/personal.php'); +$this->create('settings_settings', '/settings') + ->actionInclude('settings/settings.php'); +$this->create('settings_users', '/settings/users') + ->actionInclude('settings/users.php'); +$this->create('settings_apps', '/settings/apps') + ->actionInclude('settings/apps.php'); +$this->create('settings_admin', '/settings/admin') + ->actionInclude('settings/admin.php'); + +// Not specifically routed $this->create('app_css', '/apps/{app}/{file}') ->requirements(array('file' => '.*.css')) ->action('OC', 'loadCSSFile'); |