|
|
@ -5,5 +5,6 @@ json.shixun_list @results do |obj|
|
|
|
|
json.study_count obj.myshixuns_count
|
|
|
|
json.study_count obj.myshixuns_count
|
|
|
|
json.author_name obj.user.real_name
|
|
|
|
json.author_name obj.user.real_name
|
|
|
|
json.author_img url_to_avatar(obj.user)
|
|
|
|
json.author_img url_to_avatar(obj.user)
|
|
|
|
|
|
|
|
json.pic url_to_avatar(obj)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
json.shixuns_count @total_count
|
|
|
|
json.shixuns_count @total_count
|