brama laravel

  //UpdatePostRequest.php
  
  public function authorize()
    {
        return Gate::authorize('update',request()->post);
    }
WinMaw