ldc-legaulois/app/Http/Requests/Bo/SellItems/UpdateSellItemRequest.php

17 lines
345 B
PHP
Raw Permalink Normal View History

2024-09-24 16:48:16 +02:00
<?php
namespace App\Http\Requests\Bo\SellItems;
use Illuminate\Support\Facades\Gate;
class UpdateSellItemRequest extends StoreSellItemRequest
{
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return Gate::check('update', $this->route('sell_item'));
}
}