We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4b3e39 commit 8c9a9d1Copy full SHA for 8c9a9d1
src/Http/Controllers/PublicController.php
@@ -19,7 +19,7 @@ public function __construct(EloquentObject $object)
19
*/
20
public function index()
21
{
22
- $models = $this->repository->published()->findAll();
+ $models = $this->repository->all();
23
24
return view('objects::public.index')
25
->with(compact('models'));
@@ -32,7 +32,7 @@ public function index()
32
33
public function show($slug)
34
35
- $model = $this->repository->published()->bySlug($slug);
+ $model = $this->repository->bySlug($slug);
36
37
return view('objects::public.show')
38
->with(compact('model'));
0 commit comments