Show code posts in admin area

This commit is contained in:
2024-03-05 20:54:56 +11:00
parent c434d22a0f
commit 218002172e

View File

@@ -63,7 +63,7 @@ module Admin
def list def list
posts posts
.where(post_type: ["post", "checkin"]) .where(post_type: ["post", "checkin", "code"])
.order(Sequel.lit("published_at desc")) .order(Sequel.lit("published_at desc"))
.to_a .to_a
end end