Merge pull request #1618 from demsey2/master
URI data available in the before filter.
This commit is contained in:
commit
f933db7a12
|
@ -276,7 +276,7 @@ public function execute($method, $parameters = array())
|
||||||
// Again, as was the case with route closures, if the controller "before"
|
// Again, as was the case with route closures, if the controller "before"
|
||||||
// filters return a response, it will be considered the response to the
|
// filters return a response, it will be considered the response to the
|
||||||
// request and the controller method will not be used.
|
// 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))
|
if (is_null($response))
|
||||||
{
|
{
|
||||||
|
@ -439,4 +439,4 @@ public function __get($key)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue