pass response in laravel done event.
This commit is contained in:
parent
507bba60ca
commit
17bd505ff6
|
|
@ -246,4 +246,4 @@
|
|||
|
|
||||
*/
|
||||
|
||||
Event::fire('laravel.done');
|
||||
Event::fire('laravel.done', array($response));
|
||||
|
|
@ -79,7 +79,7 @@ public static function attach()
|
|||
// We'll attach the profiler to the "done" event so that we can easily
|
||||
// attach the profiler output to the end of the output sent to the
|
||||
// browser. This will display the profiler's nice toolbar.
|
||||
Event::listen('laravel.done', function()
|
||||
Event::listen('laravel.done', function($response)
|
||||
{
|
||||
echo Profiler::render();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue