Created
May 15, 2023 12:31
-
-
Save nataliaconde/10e71ad8ee1ec55ab78ff5e46108b7eb 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
use Illuminate\Support\Facades\Gate; | |
Gate::guessPolicyNamesUsing(function (string $modelClass) { | |
// Provide the name of the model’s policy class… | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment