Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (11 sloc) 0.306 kb
<p>Username: <%=h @user.username %></p>
<h2>Friends</h2>
<ul>
<% @user.friendships.each do |friendship| %>
<li>
<%=h friendship.friend.username %>
- <%= link_to "remove", friendship, :method => :delete %>
</li>
<% end %>
</ul>
<p><%= link_to "Find New Friends", users_path %></p>
Jump to Line
Something went wrong with that request. Please try again.