[Routing] fixed typo

This commit is contained in:
Fabien Potencier 2010-03-09 17:35:47 +01:00
parent dad75524fc
commit e582408188
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class UrlGenerator implements UrlGeneratorInterface
public function __construct(RouteCollection $routes, array $context = array(), array $defaults = array())
{
$this->routes = $routes;
$this->context = array_merge(array('base_url', ''), $context);
$this->context = array_merge(array('base_url' => ''), $context);
$this->defaults = $defaults;
$this->cache = array();
}