diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-05-17 23:42:45 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-06-06 12:40:09 +0300 |
commit | 05b60ee17080b4f9866b82e00e72d52d3ba02338 (patch) | |
tree | e256e267d4abf84b19435e978273b095cc45bb6f /settings/routes.php | |
parent | d9d5e975d8f4671341f9c3b5ead85578a86b1c92 (diff) |
Fix category navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings/routes.php')
-rw-r--r-- | settings/routes.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/routes.php b/settings/routes.php index a21a0f0789d..29db7c06d4e 100644 --- a/settings/routes.php +++ b/settings/routes.php @@ -49,6 +49,8 @@ $application->registerRoutes($this, [ ['name' => 'AppSettings#listCategories', 'url' => '/settings/apps/categories', 'verb' => 'GET'], ['name' => 'AppSettings#viewApps', 'url' => '/settings/apps', 'verb' => 'GET'], ['name' => 'AppSettings#listApps', 'url' => '/settings/apps/list', 'verb' => 'GET'], + + ['name' => 'AppSettings#viewApps', 'url' => '/settings/apps/{category}', 'verb' => 'GET', 'defaults' => ['category' => '']], ['name' => 'AppSettings#enableApp', 'url' => '/settings/apps/enable/{appId}', 'verb' => 'GET'], ['name' => 'AppSettings#enableApps', 'url' => '/settings/apps/enable', 'verb' => 'POST'], ['name' => 'AppSettings#disableApp', 'url' => '/settings/apps/disable/{appId}', 'verb' => 'GET'], |