-
-
Save cursosdesarrolloweb/3101e7e2d27104dca31b2ed6957c9c22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
protected function gate() | |
{ | |
Gate::define('viewHorizon', function ($user) { | |
return in_array($user->email, [ | |
'app@cursosdesarrolloweb.es', | |
]); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment