Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
karabayyazilim committed Jul 10, 2024
1 parent f6b34a3 commit 874e909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/HomeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class HomeController extends Controller
public function index(): \Inertia\Response|\Inertia\ResponseFactory
{
return inertia('Welcome', [
'events' => Event::query()->where('start_date', '>', now())->with('city')->get(),
'events' => Event::query()->where('end_date', '>', now())->with('city')->get(),
]);
}
}

0 comments on commit 874e909

Please sign in to comment.