Added method and URI to before filters.

This commit is contained in:
Taylor Otwell 2011-08-08 13:46:15 -05:00
parent 762a0e4175
commit 8adb919489
1 changed files with 2 additions and 2 deletions

View File

@ -44,13 +44,13 @@
|
*/
'before' => function()
'before' => function($method, $uri)
{
// Do stuff before every request to your application.
},
'after' => function($response)
'after' => function($response, $method, $uri)
{
// Do stuff after every request to your application.
},