From 35aa5bd3f3855e96d0e4aa0a9a96cc40c2619f99 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sat, 24 Feb 2024 15:51:03 +1100 Subject: [PATCH] List checkins in admin area --- slices/admin/repos/post_repo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slices/admin/repos/post_repo.rb b/slices/admin/repos/post_repo.rb index 9c1209e..09c85ce 100644 --- a/slices/admin/repos/post_repo.rb +++ b/slices/admin/repos/post_repo.rb @@ -63,7 +63,7 @@ module Admin def list posts - .where(post_type: "post") + .where(post_type: ["post", "checkin"]) .order(Sequel.lit("published_at desc")) .to_a end