Trimming comment bloat from Route class.
This commit is contained in:
@@ -53,7 +53,6 @@ class Route {
|
|||||||
{
|
{
|
||||||
$response = call_user_func_array($this->callback, $this->parameters);
|
$response = call_user_func_array($this->callback, $this->parameters);
|
||||||
}
|
}
|
||||||
// If the route value is an array, we'll need to check it for any filters that may be attached.
|
|
||||||
elseif (is_array($this->callback))
|
elseif (is_array($this->callback))
|
||||||
{
|
{
|
||||||
$response = isset($this->callback['before']) ? Route\Filter::call($this->callback['before'], array(), true) : null;
|
$response = isset($this->callback['before']) ? Route\Filter::call($this->callback['before'], array(), true) : null;
|
||||||
|
|||||||
Reference in New Issue
Block a user