educoder/app/views/users/shixuns/index.json.jbuilder

4 lines
130 B

6 years ago
json.count @count
json.shixuns @shixuns, partial: 'users/shixuns/shared/shixun', as: :shixun, locals: { user: observed_user }