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

18 lines
356 B
PHP

<?php
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 boolean
*/
public function authorize()
{
return Gate::check('update', $this->route('prize'));
}
}