1
0
Fork 0
This repository has been archived on 2023-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
lesson-decentralized_microb.../app/views/profiles/following/index.html.erb

12 lines
327 B
Plaintext

<div class="my-4">
<strong>&#10094;&nbsp;<%= link_to @profile.full_name, @profile %></strong>
</div>
<% if @profile.followed_profiles.present? %>
<ul>
<% @profile.followed_profiles.each do |followed_profile| %>
<li><%= link_to followed_profile.full_name, followed_profile %></li>
<% end %>
</ul>
<% end %>