firefly-iii/app/Providers/AuthServiceProvider.php

31 lines
596 B
PHP
Raw Normal View History

<?php
namespace FireflyIII\Providers;
2017-09-09 15:06:13 -05:00
use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
2017-09-09 15:06:13 -05:00
protected $policies = [
'FireflyIII\Model' => 'FireflyIII\Policies\ModelPolicy',
];
/**
2016-09-15 23:48:38 -05:00
* Register any authentication / authorization services.
2016-01-15 16:12:52 -06:00
*
* @return void
*/
2016-09-15 23:48:38 -05:00
public function boot()
{
2016-09-15 23:48:38 -05:00
$this->registerPolicies();
//
}
}