Skip to content

Commit

Permalink
Pull enabled status from cache and inject in manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidesu committed Feb 19, 2016
1 parent 3cdaf43 commit ca2904d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Repositories/LocalRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,14 @@ public function getProperties($slug)
$collection->put('order', 9001);
}

if (! $collection->has('order')) {
$collection->put('order', 9001);
}

if (! $collection->has('enabled')) {
$collection->put('enabled', $this->isEnabled($collection->get('slug')));
}

return $collection;
}

Expand Down

0 comments on commit ca2904d

Please sign in to comment.