Cleaned up user method
This commit is contained in:
@@ -44,9 +44,9 @@ class Asset extends Elegant {
|
||||
}
|
||||
|
||||
|
||||
public function user()
|
||||
public function assigneduser()
|
||||
{
|
||||
return $this->belongsTo('User');
|
||||
return $this->belongsTo('User', 'assigned_to');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user