From dda7fd35a1ea0fe0b117e3ce5999260a128da98c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20D=C4=85browski?= Date: Thu, 10 Sep 2015 21:35:43 +0200 Subject: [PATCH] Pass view arguments to the internal function of cache section. --- src/Templating.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Templating.php b/src/Templating.php index 13058af..b854c8f 100644 --- a/src/Templating.php +++ b/src/Templating.php @@ -53,7 +53,9 @@ public function registerBlade() $blade->directive('cache', function($expression) { $expression = rtrim($expression, ')'); - return ''; + return ''; }); $blade->directive('endcache', function() {