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

20 lines
379 B
PHP

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