Gate::before not working laravel 8 code example
Example: Gate::before not working laravel 8
try something like this :
@canany(['update', 'view', 'delete'], $post)
@elsecanany(['create'], \App\Models\Post::class)
@endcanany
try something like this :
@canany(['update', 'view', 'delete'], $post)
@elsecanany(['create'], \App\Models\Post::class)
@endcanany