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/discusses/reply.json.jbuilder

11 lines
305 B

json.discuss do
json.id @discuss.id
json.content content_safe(@discuss.content)
json.time time_from_now(@discuss.created_at)
json.position @discuss.position
json.shixun_id @discuss.dis_id
json.hidden @discuss.hidden
json.reward @discuss.reward
json.praise_count @discuss.praises_count
end