Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% @user ||= current_user %>
- <div class="stats">
- <a href="<%= following_user_path(@user) %>">
- <strong id="following" class="stat">
- <%= @user.following.count %>
- </strong>
- following
- </a>
- <a href="<%= followers_user_path(@user) %>">
- <strong id="followers" class="stat">
- <%= @user.followers.count %>
- </strong>
- followers
- </a>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement