ldc-gen-game-web/app/Http/Requests/Bo/FaqThemes/UpdateFaqThemeRequest.php
2023-12-05 12:33:25 +01:00

18 lines
369 B
PHP

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