Laravel Jetstream install

This commit is contained in:
Benjamin Takats
2022-11-29 17:42:58 +01:00
parent 17cfffc817
commit 9e56453d46
127 changed files with 5887 additions and 197 deletions

View File

@@ -2,18 +2,19 @@
namespace App\Providers;
// use Illuminate\Support\Facades\Gate;
use App\Models\Team;
use App\Policies\TeamPolicy;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The model to policy mappings for the application.
* The policy mappings for the application.
*
* @var array<class-string, class-string>
* @var array
*/
protected $policies = [
// 'App\Models\Model' => 'App\Policies\ModelPolicy',
Team::class => TeamPolicy::class,
];
/**