Skip to content

Commit

Permalink
Use new lists notation..
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Jun 9, 2015
1 parent 1171473 commit 8b2035a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Repositories/Eloquent/EloquentBlockRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private function getExistingSlugs($slug)
{
$query = $this->model->where('name', 'LIKE', $slug . '%');

$list = $query->lists('name', $this->model->getKeyName());
$list = $query->lists('name', $this->model->getKeyName())->all();

return $list;
}
Expand Down

0 comments on commit 8b2035a

Please sign in to comment.