ldc-gen-game-web/app/Http/Requests/Bo/Ranges/UpdateRangeRequest.php

21 lines
379 B
PHP
Raw Permalink Normal View History

2023-08-22 13:38:38 +02:00
<?php
2026-10-02 12:09:46 +02:00
declare(strict_types=1);
2023-08-22 13:38:38 +02:00
namespace App\Http\Requests\Bo\Ranges;
2023-12-05 12:33:25 +01:00
use Illuminate\Support\Facades\Gate;
2023-08-22 13:38:38 +02:00
class UpdateRangeRequest extends StoreRangeRequest
{
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('range'));
}
2023-08-22 13:38:38 +02:00
}