helpers/url: overwrite existing params

This commit is contained in:
Thomas Gelf 2014-09-05 17:56:55 +02:00
parent 315c2a6e51
commit 596800bd7d
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ $this->addHelperFunction('url', function ($path = null, $params = null) {
$url = Url::fromPath($path);
}
if ($params !== null) {
$url->setParams($params);
$url->overwriteParams($params);
}
return $url;