summaryrefslogtreecommitdiffstats
path: root/settings/routes.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-15 21:59:16 +0200
committerLukas Reschke <lukas@owncloud.com>2014-10-15 22:01:56 +0200
commite4227658d9d80725620ab33b68de5c26c8ed67ad (patch)
tree65461cf9618eb287c79d905671a47dc415f21cae /settings/routes.php
parentf48c973876ebe6eab0d95fa2c3daa12355034e3e (diff)
downloadnextcloud-server-e4227658d9d80725620ab33b68de5c26c8ed67ad.tar.gz
nextcloud-server-e4227658d9d80725620ab33b68de5c26c8ed67ad.zip
Migrate new app settings to AppFramework
Let's migrate those two new files.
Diffstat (limited to 'settings/routes.php')
-rw-r--r--settings/routes.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/settings/routes.php b/settings/routes.php
index b91b085f3a1..82167ea6396 100644
--- a/settings/routes.php
+++ b/settings/routes.php
@@ -13,6 +13,8 @@ $application->registerRoutes($this, array('routes' =>array(
array('name' => 'MailSettings#setMailSettings', 'url' => '/settings/admin/mailsettings', 'verb' => 'POST'),
array('name' => 'MailSettings#storeCredentials', 'url' => '/settings/admin/mailsettings/credentials', 'verb' => 'POST'),
array('name' => 'MailSettings#sendTestMail', 'url' => '/settings/admin/mailtest', 'verb' => 'POST'),
+ array('name' => 'AppSettings#listCategories', 'url' => '/settings/apps/categories', 'verb' => 'GET'),
+ array('name' => 'AppSettings#listApps', 'url' => '/settings/apps/list', 'verb' => 'GET')
)));
/** @var $this \OCP\Route\IRouter */
@@ -80,10 +82,6 @@ $this->create('settings_cert_remove', '/settings/ajax/removeRootCertificate')
// apps
$this->create('settings_ajax_enableapp', '/settings/ajax/enableapp.php')
->actionInclude('settings/ajax/enableapp.php');
-$this->create('settings_ajax_load_app_categories', '/settings/apps/categories')
- ->actionInclude('settings/ajax/apps/categories.php');
-$this->create('settings_ajax_load_apps', '/settings/apps/list')
- ->actionInclude('settings/ajax/apps/index.php');
$this->create('settings_ajax_disableapp', '/settings/ajax/disableapp.php')
->actionInclude('settings/ajax/disableapp.php');
$this->create('settings_ajax_updateapp', '/settings/ajax/updateapp.php')