diff --git a/cake/libs/router.php b/cake/libs/router.php index 92193b429..9003bda8c 100644 --- a/cake/libs/router.php +++ b/cake/libs/router.php @@ -1041,7 +1041,7 @@ class Router { * @access public * @static */ - function requestRoute() { + function &requestRoute() { $self =& Router::getInstance(); return $self->__currentRoute[0]; } @@ -1053,7 +1053,7 @@ class Router { * @access public * @static */ - function currentRoute() { + function ¤tRoute() { $self =& Router::getInstance(); return $self->__currentRoute[count($self->__currentRoute) - 1]; }