Skip to content

Commit

Permalink
published() removed from controller
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Jan 29, 2018
1 parent dec6b9c commit 308dc72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/Controllers/PublicController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function __construct(EloquentPartner $partner)
*/
public function index()
{
$models = $this->repository->published()->findAll();
$models = $this->repository->all();

return view('partners::public.index')
->with(compact('models'));
Expand All @@ -32,7 +32,7 @@ public function index()
*/
public function show($slug)
{
$model = $this->repository->published()->bySlug($slug);
$model = $this->repository->bySlug($slug);

return view('partners::public.show')
->with(compact('model'));
Expand Down

0 comments on commit 308dc72

Please sign in to comment.