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)