diff --git a/app/views/shixuns/show.json.jbuilder b/app/views/shixuns/show.json.jbuilder index 7f8a1db50..404acb4fa 100644 --- a/app/views/shixuns/show.json.jbuilder +++ b/app/views/shixuns/show.json.jbuilder @@ -1,6 +1,6 @@ json.fork_from @fork_from json.identity User.current.shixun_identity(@shixun) -json.is_collect @user&.is_collect?(@shixun) +json.is_collect User.current&.is_collect?(@shixun) json.power @power json.partial! 'shixuns/top', locals: { shixun: @shixun, current_myshixun: @current_myshixun }