Browse Source

Update User model

Daniel Supernault 6 years ago
parent
commit
492410a287
1 changed files with 5 additions and 0 deletions
  1. 5 0
      app/User.php

+ 5 - 0
app/User.php

@@ -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;