Skip to content

Commit

Permalink
config path
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed May 4, 2022
1 parent d58ecad commit bae3e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/PublicController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function index(): View
$models = News::published()
->order()
->with('image')
->paginate(config('typicms.news.per_page'));
->paginate(config('typicms.modules.news.per_page'));

return view('news::public.index')
->with(compact('models'));
Expand Down

0 comments on commit bae3e41

Please sign in to comment.