Display followers and following count
This commit is contained in:
parent
c3a9f837bb
commit
b17ef5fac7
|
@ -1,5 +1,13 @@
|
|||
<h1><%= @profile.full_name %></h1>
|
||||
|
||||
<p>
|
||||
<%= @profile.following_profiles.count %>
|
||||
Followers
|
||||
•
|
||||
<%= @profile.followed_profiles.count %>
|
||||
Following
|
||||
</p>
|
||||
|
||||
<p><%= @profile.description %></p>
|
||||
|
||||
<% @profile.posts.each do |post| %>
|
||||
|
|
Reference in New Issue