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