Browse Source

global after filter receives response object.

Taylor Otwell 13 years ago
parent
commit
7f3f1f3481
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/routes.php

+ 1 - 1
application/routes.php

@@ -96,7 +96,7 @@ Route::filter('before', function()
 	// Do stuff before every request to your application...
 	// Do stuff before every request to your application...
 });
 });
 
 
-Route::filter('after', function()
+Route::filter('after', function($response)
 {
 {
 	// Do stuff after every request to your application...
 	// Do stuff after every request to your application...
 });
 });