diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-12-06 18:28:23 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-12-06 18:28:23 -0500 |
commit | b4b1d40eb06d64046df1e2724ef6b54ae9562c24 (patch) | |
tree | 51d59c811e8761b8d16d1c2c4fdcb66ec005059b /app | |
parent | 756e8697c04dc0d4ba053f81a99022273377be35 (diff) |
Add routes for settings and documentation
Diffstat (limited to 'app')
-rw-r--r-- | app/ServiceProvider/RouteProvider.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/ServiceProvider/RouteProvider.php b/app/ServiceProvider/RouteProvider.php index 44ecebec..f7341a5b 100644 --- a/app/ServiceProvider/RouteProvider.php +++ b/app/ServiceProvider/RouteProvider.php @@ -162,6 +162,24 @@ class RouteProvider implements ServiceProviderInterface $container['router']->addRoute('group/:group_id/members', 'group', 'users', array('group_id')); $container['router']->addRoute('group/:group_id/remove', 'group', 'confirm', array('group_id')); + // Config + $container['router']->addRoute('settings', 'config', 'index'); + $container['router']->addRoute('settings/plugins', 'config', 'plugins'); + $container['router']->addRoute('settings/application', 'config', 'application'); + $container['router']->addRoute('settings/project', 'config', 'project'); + $container['router']->addRoute('settings/project', 'config', 'project'); + $container['router']->addRoute('settings/board', 'config', 'board'); + $container['router']->addRoute('settings/calendar', 'config', 'calendar'); + $container['router']->addRoute('settings/integrations', 'config', 'integrations'); + $container['router']->addRoute('settings/webhook', 'config', 'webhook'); + $container['router']->addRoute('settings/api', 'config', 'api'); + $container['router']->addRoute('settings/links', 'link', 'index'); + $container['router']->addRoute('settings/currencies', 'currency', 'index'); + + // Doc + $container['router']->addRoute('documentation/:file', 'doc', 'show', array('file')); + $container['router']->addRoute('documentation', 'doc', 'show'); + // Auth routes $container['router']->addRoute('oauth/google', 'oauth', 'google'); $container['router']->addRoute('oauth/github', 'oauth', 'github'); |