Laravel - Authorization - Blade Actions That Dont Require Models

Like most of the other authorization methods, you may pass a class name to the @can and @cannot directives if the action does not require a model instance:

    
    @can('create', App\Models\Post::class)
        
    @endcan
    
    @cannot('create', App\Models\Post::class)
        
    @endcannot