Update User model

This commit is contained in:
Daniel Supernault 2019-01-31 12:55:20 -07:00
parent da17778223
commit 492410a287
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -62,6 +62,11 @@ class User extends Authenticatable
); );
} }
public function filters()
{
return $this->hasMany(UserFilter::class);
}
public function receivesBroadcastNotificationsOn() public function receivesBroadcastNotificationsOn()
{ {
return 'App.User.'.$this->id; return 'App.User.'.$this->id;