ldc-showroom-bo/app/Http/Requests/Bo/Ranges/UpdateRangeRequest.php
2024-01-05 16:25:44 +01:00

18 lines
363 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(): bool
{
return Gate::allows('update', $this->route('range'));
}
}