refactoring

This commit is contained in:
Taylor Otwell
2011-10-10 21:34:15 -05:00
parent d1c5aea26b
commit 6cb79e6676
22 changed files with 279 additions and 333 deletions

View File

@@ -123,7 +123,7 @@ class Route {
{
if (is_array($this->callback) and isset($this->callback[$name]))
{
return $this->callback[$name];
return (array) $this->callback[$name];
}
return array();