diff --git a/src/Blades.php b/src/Blades.php index 898af8c..39294fb 100644 --- a/src/Blades.php +++ b/src/Blades.php @@ -20,7 +20,7 @@ public function runCompiles() }); Blade::directive('endUserCan', function () { - return ''; + return ''; }); Blade::directive('roleCan', function ($expression) { @@ -32,7 +32,7 @@ public function runCompiles() }); Blade::directive('endRoleCan', function () { - return ''; + return ''; }); Blade::directive('allows', function ($expression) { @@ -44,7 +44,11 @@ public function runCompiles() }); Blade::directive('endAllows', function () { - return ''; + return ''; + }); + + Blade::directive('otherwise', function () { + return ""; }); } }