Skip to content

Commit

Permalink
fixed endrole blade extension
Browse files Browse the repository at this point in the history
  • Loading branch information
httpoz committed Sep 2, 2016
1 parent c9a724b commit 1055e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HttpOz/Roles/RolesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function registerBladeExtensions()
return "<?php if (Auth::check() && Auth::user()->isRole{$expression}): ?>";
});

Blade::directive('role', function () {
Blade::directive('endrole', function () {
return "<?php endif; ?>";
});

Expand Down

0 comments on commit 1055e55

Please sign in to comment.