Commit 60c9c915 authored by Taylor Otwell's avatar Taylor Otwell

Trimming comment bloat from Route class.

parent a86d4477
...@@ -53,7 +53,6 @@ class Route { ...@@ -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;
......
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