thirteen-tien-len/app/views/shared/_stats.html.haml

11 lines
274 B
Plaintext

- @user ||= current_user
.stats
%span{:href => "#{following_user_path(@user)}"}
%strong#following.stat
= @user.following.count
following
-# %a{:href => "#{followers_user_path(@user)}"}
%strong#followers.stat
= @user.followers.count
followers