json.informs @informs.each do |inform|
  json.(inform, :id, :name, :description)
  json.attachments inform.attachments do |atta|
    json.partial! "attachments/attachment_simple", locals: {attachment: atta}
  end
end