Show code posts in admin area
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user