From 2d9f56c02a50502dbdea815c5a4ef14dc6d503c2 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 18 Nov 2013 00:55:36 -0500 Subject: [PATCH] Cleaned up user method --- app/models/Asset.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/Asset.php b/app/models/Asset.php index 9496021c50..df3cdf0377 100644 --- a/app/models/Asset.php +++ b/app/models/Asset.php @@ -44,9 +44,9 @@ class Asset extends Elegant { } - public function user() + public function assigneduser() { - return $this->belongsTo('User'); + return $this->belongsTo('User', 'assigned_to'); } }