Skip to content

Commit

Permalink
Fix module where method
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidesu authored Jul 11, 2016
1 parent b7ed3a9 commit 3235513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repositories/LocalRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function slugs()
*/
public function where($key, $value)
{
return $this->all()->where($key, $value);
return collect($this->all()->where($key, $value)->first());
}

/**
Expand Down

0 comments on commit 3235513

Please sign in to comment.