Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Becker <halfdan@xnorfz.de>2013-04-11 18:05:32 +0400
committerFabian Becker <halfdan@xnorfz.de>2013-04-11 18:05:32 +0400
commitde03275f535d71b8dd31ae5e6b6f66490064e2ae (patch)
tree602b849aea1f64f7e3a85b3b7a14a8714fdf4320 /core/Twig.php
parent00771870dafb3348cf9ba0a5e0b2a9a41a1bcf18 (diff)
Rename URL helper to linkTo
Diffstat (limited to 'core/Twig.php')
-rw-r--r--core/Twig.php2
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);