1
0
Fork 0

Display followers and following count

This commit is contained in:
Alex Kotov 2021-03-10 15:51:11 +05:00
parent c3a9f837bb
commit b17ef5fac7
1 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,13 @@
<h1><%= @profile.full_name %></h1>
<p>
<%= @profile.following_profiles.count %>
Followers
&#8226;
<%= @profile.followed_profiles.count %>
Following
</p>
<p><%= @profile.description %></p>
<% @profile.posts.each do |post| %>