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.
|
json.shixun_list @results do |obj|
|
|
json.(obj, :id, :identifier)
|
|
json.title obj.name
|
|
json.level level_to_s(obj.trainee)
|
|
json.study_count obj.myshixuns_count
|
|
json.author_name obj.user.real_name
|
|
json.author_img url_to_avatar(obj.user)
|
|
end
|
|
json.shixuns_count @total_count |