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.
17 lines
422 B
17 lines
422 B
5 years ago
|
if @content_record
|
||
|
json.content_info @content_record 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 @perfer_record do
|
||
|
json.status @perfer_record.status
|
||
|
json.time format_time(@perfer_record.created_at)
|
||
|
json.username @perfer_record.user&.real_name
|
||
|
end
|
||
|
end
|
||
|
|
||
|
|