change to small letter

This commit is contained in:
Zain Fauzan Rofie Azizi
2018-06-20 12:02:45 +08:00
parent 262238f839
commit 90286315f2
+4 -6
View File
@@ -8,20 +8,18 @@ class Contact extends Model
{
protected $fillable = ['company_id'];
public function User()
public function user()
{
return $this->belongsTo(User::class);
return $this->belongsTo(App/User);
}
public function Company()
public function company()
{
return $this->belongsTo(Company::class);
return $this->belongsTo(App/Company);
}