1
0

Foutherstel van de eerste commit

This commit is contained in:
Daniel Boutros 2017-03-25 16:55:29 +01:00
parent 222effbfd8
commit bcc3f22459
2 changed files with 3 additions and 2 deletions

View File

@ -20,11 +20,11 @@ class Daniel
{ {
public function __construct(App $app) public function __construct(App $app)
{ {
$app->get('/Daniel', function ($request, $response, $args) { $app->get('/daniel', function ($request, $response, $args) {
// Render index view // Render index view
return $this->renderer->render($response, 'Daniel.phtml', $args); 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 // Render index view
$post = $request->getParsedBody(); $post = $request->getParsedBody();

View File

@ -112,6 +112,7 @@ Inforbank\Application::set($app);
*/ */
new Inforbank\Application\Login($app); new Inforbank\Application\Login($app);
new Inforbank\Application\Daniel($app);
new Inforbank\Application\Main($app); new Inforbank\Application\Main($app);
// Added API handler // Added API handler