19 lines
377 B
PHP
19 lines
377 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Models\Kebun;
|
|
use App\Policies\KebunPolicy;
|
|
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
|
|
|
|
class AuthServiceProvider extends ServiceProvider
|
|
{
|
|
protected $policies = [
|
|
Kebun::class => KebunPolicy::class,
|
|
];
|
|
|
|
public function boot()
|
|
{
|
|
$this->registerPolicies();
|
|
}
|
|
} |