Skip to content

Commit

Permalink
12
Browse files Browse the repository at this point in the history
  • Loading branch information
jareknikolasettl committed Jul 26, 2023
1 parent fcf68b9 commit 583e06e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/Providers/EventServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace App\Providers;

use App\Models\Project;
use App\Observers\ProjectObserver;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
Expand All @@ -28,5 +30,8 @@ class EventServiceProvider extends ServiceProvider
public function boot()
{
//
parent::boot();

Project::observe(ProjectObserver::class);
}
}

0 comments on commit 583e06e

Please sign in to comment.