LARAVEL MEDIT Метод
public function edit(Post $post)
{
Gate::authorize('update',$post);
return view('post.edit',compact('post'));
}
WinMaw
public function edit(Post $post)
{
Gate::authorize('update',$post);
return view('post.edit',compact('post'));
}