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/show_right.json.jbuilder

7 lines
221 B

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