ldc-gen-game-web/app/Http/Requests/Bo/Prizes/UpdatePrizeRequest.php
2026-10-20 12:27:49 +02:00

20 lines
379 B
PHP

<?php
declare(strict_types=1);
namespace App\Http\Requests\Bo\Prizes;
use Illuminate\Support\Facades\Gate;
class UpdatePrizeRequest extends StorePrizeRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return Gate::check('update', $this->route('prize'));
}
}