EscolaLMS/Webinar

View on GitHub
src/Http/Requests/ShowWebinarRequest.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace EscolaLms\Webinar\Http\Requests;

use Illuminate\Support\Facades\Gate;

class ShowWebinarRequest extends BaseWebinarRequest
{
    public function authorize(): bool
    {
        return Gate::allows('read', $this->getWebinar());
    }
}