This commit is contained in:
2026-05-01 04:43:30 +09:00
parent a7020fb129
commit fa8eb66535
9 changed files with 128 additions and 24 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ class PostsController < ApplicationController
render json: PostRepr.base(post, current_user)
.merge(tags: build_tag_tree_for(post.tags),
related: post.related(limit: 20))
related: PostRepr.many(post.related(limit: 20)))
end
def create