relationships again

This commit is contained in:
2018-11-05 10:39:01 -06:00
parent 01a0471114
commit c91c9cd378
11 changed files with 63 additions and 7 deletions
+5 -1
View File
@@ -53,6 +53,10 @@ class User extends Authenticatable
}
public function roles() {
return $this->hasMany('App\UserRole');
return $this->hasMany('App\Models\UserRole');
}
public function esiscopes() {
return $this->hasMany('App\Models\EsiScope');
}
}