diff --git a/src/Application/Daniel.php b/src/Application/Daniel.php index 5bf2c36..e58fe43 100644 --- a/src/Application/Daniel.php +++ b/src/Application/Daniel.php @@ -20,11 +20,11 @@ class Daniel { public function __construct(App $app) { - $app->get('/Daniel', function ($request, $response, $args) { + $app->get('/daniel', function ($request, $response, $args) { // Render index view return $this->renderer->render($response, 'Daniel.phtml', $args); }); - $app->post('/Daniel', function ($request, $response, $args) { + $app->post('/daniel', function ($request, $response, $args) { // Render index view $post = $request->getParsedBody(); diff --git a/src/bootstrap.php b/src/bootstrap.php index ea45166..ae25891 100644 --- a/src/bootstrap.php +++ b/src/bootstrap.php @@ -112,6 +112,7 @@ Inforbank\Application::set($app); */ new Inforbank\Application\Login($app); +new Inforbank\Application\Daniel($app); new Inforbank\Application\Main($app); // Added API handler