AP
Size: a a a
AP
ᅠ
AP
ВШ
ᅠ
AP
ВШ
ᅠ
SC
ВШ
ТL
ВШ
ВШ
ТL
ВШ
АС
E
App\Policies\TablePolicyпрописал метод
public function update(User $user, Table $table)и прописал в
{
return $user->id === $table->user_id;
}
AuthServiceProviderв
$policies
Table::class => TablePolicy::class,
ii