Commit 18e58171 authored by demsey2's avatar demsey2

URI data is not available in the before filter

More info: http://forums.laravel.io/viewtopic.php?id=4458
parent ff7f6f67
......@@ -276,7 +276,7 @@ abstract class Controller {
// 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))
{
......@@ -439,4 +439,4 @@ abstract class Controller {
}
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment