Skip to content

Commit

Permalink
Fixed responsible events on trait
Browse files Browse the repository at this point in the history
  • Loading branch information
24aitor committed Jun 5, 2017
1 parent 7113bfc commit 0f96298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ public function joinedEvents()

public function responsibleEvents()
{
return $this->joinedEvents()->wherePivot('responsible', true)->get();
return $this->joinedEvents()->wherePivot('responsible', true);
}
}

0 comments on commit 0f96298

Please sign in to comment.