Add StatusHashtag Observer to AppServiceProvider

This commit is contained in:
Daniel Supernault 2019-06-30 22:39:00 -06:00
parent 9d55d65b58
commit dea1e916cf
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -5,11 +5,13 @@ namespace App\Providers;
use App\Observers\{
AvatarObserver,
NotificationObserver,
StatusHashtagObserver,
UserObserver
};
use App\{
Avatar,
Notification,
StatusHashtag,
User
};
use Auth, Horizon, URL;
@ -31,6 +33,7 @@ class AppServiceProvider extends ServiceProvider
Avatar::observe(AvatarObserver::class);
Notification::observe(NotificationObserver::class);
StatusHashtag::observe(StatusHashtagObserver::class);
User::observe(UserObserver::class);
Horizon::auth(function ($request) {