Skip to content

Commit cd93d93

Browse files
committed
Merge pull request #31 from ziadoz/patch-2
Added missing namespace to Twig Extension.
2 parents e0b8cb1 + 0d07c2c commit cd93d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Views/Extension/Twig/Extensions/Slim.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ public function getFunctions()
1616

1717
public function urlFor($name, $params = array(), $appName = 'default')
1818
{
19-
return Slim::getInstance($appName)->urlFor($name, $params);
19+
return \Slim\Slim::getInstance($appName)->urlFor($name, $params);
2020
}
2121
}

0 commit comments

Comments
 (0)