Skip to content

Commit

Permalink
Use kernel.handled event
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Mar 18, 2015
1 parent 77be517 commit 007534b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"require": {
"php": ">=5.4.0",
"illuminate/support": "5.0.x",
"illuminate/support": "~5.0.17",
"symfony/finder": "~2.6",
"maximebf/debugbar": "~1.10.2"
},
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function boot()
$debugbar = $this->app['debugbar'];
$debugbar->boot();

$app['router']->after(
$app['events']->listen('kernel.handled',
function ($request, $response) use ($debugbar) {
$debugbar->modifyResponse($request, $response);
}
Expand Down

0 comments on commit 007534b

Please sign in to comment.