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
383 B
9 lines
383 B
6 years ago
|
json.(memo, :id, :subject, :author_id, :sticky,
|
||
|
:updated_at, :language, :reward, :all_replies_count,
|
||
|
:viewed_count, :forum_id)
|
||
|
json.praise_count memo.praise_tread.praise_count
|
||
|
json.replies_count memo.all_replies_count
|
||
|
json.tag memo.tag_repertoires.map(&:name)
|
||
|
json.user_name memo.author.full_name
|
||
|
json.login memo.author.login
|
||
|
json.image_url url_to_avatar(memo.author)
|