ldc-legaulois/app/Http/Requests/Bo/DemarcheSlides/UpdateDemarcheSlideRequest.php

17 lines
365 B
PHP
Raw Permalink Normal View History

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