修复:render使用全路径

This commit is contained in:
yystopf 2026-03-24 17:20:11 +08:00
parent feec57f754
commit 97aac27770
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
json.user do
json.partial! 'user_simple', locals: { user: resident_expert.user }
json.partial! 'api/v1/resident_experts/user_simple', locals: { user: resident_expert.user }
end
json.id resident_expert.id
json.name resident_expert.name