Fixed foreign key in assets

This commit is contained in:
snipe
2013-11-22 03:24:34 -05:00
parent 52020d09f0
commit 1b1efec858
+1 -1
View File
@@ -71,7 +71,7 @@ class Asset extends Elegant {
*/
public function adminuser()
{
return $this->belongsTo('User','id');
return $this->belongsTo('User','user_id');
}
/**