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

18 lines
356 B
PHP

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