json.images do json.array! @images do |image| json.path image.link json.image_url Util::FileManage.source_disk_file_url(image) end end json.shixuns do json.partial! 'shixuns/shixun', locals: { shixuns: @shixuns } end json.subjects do json.partial! 'subjects/subject', locals: { subjects: @subjects } end