ldc-gen-game-web/app/Http/Requests/Bo/FaqQuestions/UpdateFaqQuestionRequest.php

21 lines
404 B
PHP
Raw Permalink Normal View History

2023-08-22 09:18:39 +02:00
<?php
2026-10-02 12:09:46 +02:00
declare(strict_types=1);
2023-08-22 09:18:39 +02:00
namespace App\Http\Requests\Bo\FaqQuestions;
2023-12-05 12:33:25 +01:00
use Illuminate\Support\Facades\Gate;
2023-08-22 09:18:39 +02:00
class UpdateFaqQuestionRequest extends StoreFaqQuestionRequest
{
2023-12-05 12:33:25 +01:00
/**
* Determine if the user is authorized to make this request.
*
2026-10-02 12:09:46 +02:00
* @return bool
2023-12-05 12:33:25 +01:00
*/
public function authorize()
{
return Gate::check('update', $this->route('faq_question'));
}
2023-08-22 09:18:39 +02:00
}