Skip to content

Instantly share code, notes, and snippets.

@uno-de-piera
Last active May 18, 2018
Embed
What would you like to do?
<?php
Blade::if('admin', function() {
return auth()->user()->isAdmin();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment