ldc-legaulois/app/Http/Requests/Bo/Offers/UpdateOfferRequest.php
2026-09-25 16:25:31 +02:00

16 lines
332 B
PHP

<?php
namespace App\Http\Requests\Bo\Offers;
use Illuminate\Support\Facades\Gate;
class UpdateOfferRequest extends StoreOfferRequest
{
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return Gate::check('update', $this->route('offer'));
}
}