diff --git a/app/User.php b/app/User.php index 698b8b7d2..8ed942d11 100644 --- a/app/User.php +++ b/app/User.php @@ -62,6 +62,11 @@ class User extends Authenticatable ); } + public function filters() + { + return $this->hasMany(UserFilter::class); + } + public function receivesBroadcastNotificationsOn() { return 'App.User.'.$this->id;