Skip to content

Commit

Permalink
use new response implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed Amine authored and Mohamed Amine committed Jan 16, 2019
1 parent 4a17146 commit 30ccef4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions App/Routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
use Response\Response as Response;

$this->get('/', function (Request $request, Response $response) {
$response->view('index')->send();
$response->end();
$response->view('index');
});

0 comments on commit 30ccef4

Please sign in to comment.