Browse Source

fixed controller routing bug.

Taylor Otwell 13 years ago
parent
commit
b40e69c47a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/routing/controller.php

+ 1 - 1
laravel/routing/controller.php

@@ -64,7 +64,7 @@ abstract class Controller {
 		// return an instsance of Response, we will make on now.
 		if ( ! $response instanceof Response) $response = new Response($response);
 
-		$filters = array_merge($this->filters('after'), array('after'));
+		$filters = array_merge($controller->filters('after'), array('after'));
 
 		Filter::run($filters, array($response));