From cddb88352bd5356bf488d26250be29dfecdd2eac Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 30 Apr 2019 22:44:20 -0600 Subject: [PATCH] Update AppServiceProvider --- app/Providers/AppServiceProvider.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 859791319..cf52e7fd4 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -4,9 +4,14 @@ namespace App\Providers; use App\Observers\{ AvatarObserver, + NotificationObserver, UserObserver }; -use App\{Avatar,User}; +use App\{ + Avatar, + Notification, + User +}; use Auth, Horizon, URL; use Illuminate\Support\Facades\Blade; use Illuminate\Support\Facades\Schema; @@ -25,6 +30,7 @@ class AppServiceProvider extends ServiceProvider Schema::defaultStringLength(191); Avatar::observe(AvatarObserver::class); + Notification::observe(NotificationObserver::class); User::observe(UserObserver::class); Horizon::auth(function ($request) {