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.

9 lines
295 B

json.informs @informs do |inform|
json.id inform.id
json.name inform.name
json.description inform.description
json.image_url url_to_avatar(inform.user)
json.user_name inform.user&.name
json.created_at inform.updated_at.strftime('%Y-%m-%d %H:%M')
end
json.informs_count @informs.count