Files
spa-api/app/Providers/AuthServiceProvider.php

31 lines
587 B
PHP
Raw Normal View History

2015-08-29 20:27:18 -05:00
<?php
namespace App\Providers;
2016-07-11 15:44:50 -05:00
use Illuminate\Support\Facades\Gate;
2015-08-29 20:27:18 -05:00
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies = [
'App\Model' => 'App\Policies\ModelPolicy',
];
/**
* Register any application authentication / authorization services.
*
* @return void
*/
2016-07-11 15:44:50 -05:00
public function boot()
2015-08-29 20:27:18 -05:00
{
2016-07-11 15:44:50 -05:00
$this->registerPolicies();
2015-08-29 20:27:18 -05:00
2015-08-30 07:31:25 -04:00
//
2015-08-29 20:27:18 -05:00
}
}