diff options
Diffstat (limited to 'main/app/sprinkles/ConfigManager/routes/ConfigManager.php')
-rwxr-xr-x | main/app/sprinkles/ConfigManager/routes/ConfigManager.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main/app/sprinkles/ConfigManager/routes/ConfigManager.php b/main/app/sprinkles/ConfigManager/routes/ConfigManager.php new file mode 100755 index 0000000..f17f589 --- /dev/null +++ b/main/app/sprinkles/ConfigManager/routes/ConfigManager.php @@ -0,0 +1,16 @@ +<?php +/** + * UF Config Manager + * + * @link https://github.com/lcharette/UF_ConfigManager + * @copyright Copyright (c) 2016 Louis Charette + * @license https://github.com/lcharette/UF_ConfigManager/blob/master/LICENSE (MIT License) + */ + +$app->group('/settings', function () { + $this->get('', 'UserFrosting\Sprinkle\ConfigManager\Controller\ConfigManagerController:displayMain') + ->setName('ConfigManager'); + + $this->post('/{schema}', 'UserFrosting\Sprinkle\ConfigManager\Controller\ConfigManagerController:update') + ->setName('ConfigManager.save'); +});
\ No newline at end of file |