Files
firefly-iii/app/Providers/AuthServiceProvider.php

31 lines
596 B
PHP
Raw Normal View History

<?php
namespace FireflyIII\Providers;
2017-09-09 22:06:13 +02: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 22:06:13 +02:00
protected $policies = [
'FireflyIII\Model' => 'FireflyIII\Policies\ModelPolicy',
];
/**
2016-09-16 06:48:38 +02:00
* Register any authentication / authorization services.
2016-01-15 23:12:52 +01:00
*
* @return void
*/
2016-09-16 06:48:38 +02:00
public function boot()
{
2016-09-16 06:48:38 +02:00
$this->registerPolicies();
//
}
}