This commit is contained in:
snipe 2017-10-07 15:07:31 -07:00
parent c5462c5f1f
commit d4e3ea1412

View file

@ -16,6 +16,8 @@ use App\Policies\AssetPolicy;
use App\Policies\ComponentPolicy; use App\Policies\ComponentPolicy;
use App\Policies\ConsumablePolicy; use App\Policies\ConsumablePolicy;
use App\Policies\LicensePolicy; use App\Policies\LicensePolicy;
use App\Policies\LocationPolicy;
use App\Policies\CategoryPolicy;
use App\Policies\UserPolicy; use App\Policies\UserPolicy;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Gate; use Illuminate\Support\Facades\Gate;
@ -35,8 +37,8 @@ class AuthServiceProvider extends ServiceProvider
Consumable::class => ConsumablePolicy::class, Consumable::class => ConsumablePolicy::class,
License::class => LicensePolicy::class, License::class => LicensePolicy::class,
User::class => UserPolicy::class, User::class => UserPolicy::class,
//Location::class => LocationPolicy::class, Location::class => LocationPolicy::class,
//Category::class => CategoryPolicy::class, Category::class => CategoryPolicy::class,
]; ];
/** /**