ldc-showroom-bo/app/Http/Requests/Bo/Fonts/UpdateFontRequest.php

18 lines
359 B
PHP

<?php
namespace App\Http\Requests\Bo\Fonts;
use Illuminate\Support\Facades\Gate;
class UpdateFontRequest extends StoreFontRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return boolean
*/
public function authorize(): bool
{
return Gate::allows('update', $this->route('font'));
}
}