Added method and URI to before filters.
This commit is contained in:
parent
762a0e4175
commit
8adb919489
|
@ -44,13 +44,13 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'before' => function()
|
'before' => function($method, $uri)
|
||||||
{
|
{
|
||||||
// Do stuff before every request to your application.
|
// Do stuff before every request to your application.
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
'after' => function($response)
|
'after' => function($response, $method, $uri)
|
||||||
{
|
{
|
||||||
// Do stuff after every request to your application.
|
// Do stuff after every request to your application.
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue