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.
|
|
|
|
|
*
|
|
|
|
|
* @return boolean
|
|
|
|
|
*/
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
}
|