Fixed user relationship

This commit is contained in:
snipe
2015-02-26 14:07:39 -08:00
parent 6efd268004
commit efaf067b94
+1 -1
View File
@@ -31,7 +31,7 @@ class Accessory extends Elegant
public function users()
{
return $this->belongsToMany('User', 'accessories_users', 'user_id')->withTrashed();
return $this->belongsToMany('User', 'accessories_users', 'accessory_id','assigned_to')->withTrashed();
}