实训无法查看创建则和推荐实训了

dev_course
daiao 6 years ago
parent 56e7ef24ca
commit c216cfd44b

@ -1,6 +1,6 @@
# json.partial! 'shixuns/right', locals: { shixun: @shixun }
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.follow follow?(@shixun.owner, User.current)
json.fans_count @fans_count
json.followed_count @followed_count
json.user_shixuns_count @user_own_shixuns

Loading…
Cancel
Save