From 8adb9194891777b8e866fa30f568f18e5cdfc7fc Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 8 Aug 2011 13:46:15 -0500 Subject: [PATCH] Added method and URI to before filters. --- application/filters.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/filters.php b/application/filters.php index 01538b34..2eb68c80 100644 --- a/application/filters.php +++ b/application/filters.php @@ -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. },