From d612ff2fa188e8835957990c2748657b1d151ce5 Mon Sep 17 00:00:00 2001 From: Marty Date: Tue, 21 Apr 2015 11:58:06 +1000 Subject: [PATCH] Path fix. --- server/tempest/Tempest/Twig/Functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/tempest/Tempest/Twig/Functions.php b/server/tempest/Tempest/Twig/Functions.php index e15164d..051ef3a 100644 --- a/server/tempest/Tempest/Twig/Functions.php +++ b/server/tempest/Tempest/Twig/Functions.php @@ -33,7 +33,8 @@ protected function addExtension(Twig_Environment $environment, $handle, $callabl public function link($value) { return Path::create($value) - ->prepend(tempest()->getRoot()); + ->prepend(tempest()->getRoot()) + ->setStrategy(Path::DELIMITER_LEFT); } } \ No newline at end of file