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/shixuns/review_newest_record.json.j...

17 lines
391 B

if @content_record
json.content_info do
json.status @content_record.status
json.time format_time(@content_record.created_at)
json.username @content_record.user&.real_name
end
end
if @perfer_record
json.perference_info do
json.status @perfer_record.status
json.time format_time(@perfer_record.created_at)
json.username @perfer_record.user&.real_name
end
end