diff options
author | Fabian Becker <halfdan@xnorfz.de> | 2013-04-11 18:05:32 +0400 |
---|---|---|
committer | Fabian Becker <halfdan@xnorfz.de> | 2013-04-11 18:05:32 +0400 |
commit | de03275f535d71b8dd31ae5e6b6f66490064e2ae (patch) | |
tree | 602b849aea1f64f7e3a85b3b7a14a8714fdf4320 /core/Twig.php | |
parent | 00771870dafb3348cf9ba0a5e0b2a9a41a1bcf18 (diff) |
Rename URL helper to linkTo
Diffstat (limited to 'core/Twig.php')
-rw-r--r-- | core/Twig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Twig.php b/core/Twig.php index 8fb84d4ba1..5cab5e82f4 100644 --- a/core/Twig.php +++ b/core/Twig.php @@ -68,7 +68,7 @@ class Piwik_Twig } }); $this->twig->addFunction($includeAssetsFunction); - $urlFunction = new Twig_SimpleFunction('url', function($params) { + $urlFunction = new Twig_SimpleFunction('linkTo', function($params) { return 'index.php' . Piwik_Url::getCurrentQueryStringWithParametersModified($params); }); $this->twig->addFunction($urlFunction); |