Skip to content

Commit

Permalink
Merge pull request laravel#1618 from demsey2/master
Browse files Browse the repository at this point in the history
URI data available in the before filter.
  • Loading branch information
taylorotwell committed Mar 28, 2013
2 parents ba3e481 + 18e5817 commit f933db7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions laravel/routing/controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public function execute($method, $parameters = array())
// Again, as was the case with route closures, if the controller "before"
// filters return a response, it will be considered the response to the
// request and the controller method will not be used.
$response = Filter::run($filters, array(), true);
$response = Filter::run($filters, $parameters, true);

if (is_null($response))
{
Expand Down Expand Up @@ -439,4 +439,4 @@ public function __get($key)
}
}

}
}

0 comments on commit f933db7

Please sign in to comment.