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 c1211af commit 9b47c98
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 @@ -28,7 +28,7 @@ public function index(): View
->with('image')
->orderBy('start_date')
->where('end_date', '>=', date('Y-m-d'))
->paginate(config('typicms.events.per_page'));
->paginate(config('typicms.modules.events.per_page'));

return view('events::public.index')
->with(compact('models'));
Expand All @@ -40,7 +40,7 @@ public function past(): View
->with('image')
->orderBy('end_date', 'desc')
->where('end_date', '<', date('Y-m-d'))
->paginate(config('typicms.events.per_page'));
->paginate(config('typicms.modules.events.per_page'));

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

0 comments on commit 9b47c98

Please sign in to comment.