aboutsummaryrefslogtreecommitdiffstats
path: root/imperium
diff options
context:
space:
mode:
authorWilly Micieli <micieli@laposte.net>2019-10-31 19:03:05 +0100
committerWilly Micieli <micieli@laposte.net>2019-10-31 19:03:05 +0100
commit1dc65c2bafd1af724daa56762fc2008f9cccc524 (patch)
tree18219f69b0a14993fa87f9d2a5aef2214c4bb61e /imperium
parenta2af2f94899d48058239b99e61f2fa622d2b9f98 (diff)
downloadimperium-1dc65c2bafd1af724daa56762fc2008f9cccc524.zip
imperium-1dc65c2bafd1af724daa56762fc2008f9cccc524.tar.gz
add missing views url helper
Diffstat (limited to 'imperium')
-rw-r--r--imperium/View/View.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/imperium/View/View.php b/imperium/View/View.php
index 8aef1d9..65f47c2 100644
--- a/imperium/View/View.php
+++ b/imperium/View/View.php
@@ -185,6 +185,10 @@
{
return config('twig', 'development') === true;
+ }, [ 'is_safe' => [ 'html' ] ]),new TwigFunction('url', function(...$args)
+ {
+
+ return url($args);
}, [ 'is_safe' => [ 'html' ] ]));
foreach($functions->all() as $function)