Skip to content

Commit

Permalink
Fixed relationship method because fuck you ORM
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Nov 29, 2013
1 parent 4d421c9 commit 839d01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function assigneduser()
**/
public function assetloc()
{
return $this->assigneduser->hasOne('Location');
return $this->assigneduser->userloc();
}

/**
Expand Down

0 comments on commit 839d01a

Please sign in to comment.