Foutherstel van de eerste commit
This commit is contained in:
parent
222effbfd8
commit
bcc3f22459
@ -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();
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user