Skip to content

Commit

Permalink
Path fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marty committed Apr 21, 2015
1 parent f5b5183 commit d612ff2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/tempest/Tempest/Twig/Functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

}

0 comments on commit d612ff2

Please sign in to comment.