ldc-legaulois/app/Http/Requests/Bo/DemarcheSlides/UpdateDemarcheSlideRequest.php
2024-04-18 13:00:19 +02:00

18 lines
395 B
PHP

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