1
0
Fork 0

Foutherstel van de eerste commit

merge-requests/2/head
Daniel Boutros 7 years ago
parent 222effbfd8
commit bcc3f22459

@ -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();

@ -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