educoder/app/views/shixuns/show_right.json.jbuilder

7 lines
221 B

json.partial! 'shixuns/right', locals: { shixun: @shixun }
6 years ago
json.follow follow?(@shixun.owner, User.current)
json.fans_count @fans_count
json.followed_count @followed_count
6 years ago
json.user_shixuns_count @user_own_shixuns