bug fixing

This commit is contained in:
Zain Fauzan Rofie Azizi
2018-06-25 09:38:03 +08:00
parent 7d51085dae
commit 48e033f436
7 changed files with 133 additions and 47 deletions
+2 -7
View File
@@ -8,21 +8,16 @@ class Contact extends Model
{
protected $fillable = ['company_id'];
public function user()
{
public function user() {
return $this->belongsTo(App/User);
}
public function company()
{
public function company(){
return $this->belongsTo(App/Company);
}
}