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/shixuns/get_recommend_shixuns.json....

9 lines
239 B

6 years ago
json.recommend_shixuns do
json.array! @recommend_shixuns do |hs|
json.id hs.id
json.name hs.name
json.identifier hs.identifier
json.myshixuns_count hs.myshixuns.count
json.image_url url_to_avatar(hs)
end
end