You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/graduation_topics/show_detail.json.jbuilder

9 lines
351 B

json.(@graduation_topic, :description, :topic_type, :topic_source, :topic_property_first,
:topic_property_second, :source_unit, :topic_repeat, :province, :city, :user_id)
# 附件信息
json.attachment_list do
json.array! @attachments do |attach|
json.partial! "attachments/attachment_simple", locals: {attachment: attach}
end
end