app/views/relationships/create.js.erb (
2
lines of code) (
raw
):
$("#follow_form").html("<%= escape_javascript(render('users/unfollow')) %>"); $("#followers").html('<%= @user.followers.count %>');