Skip to content
Permalink
4f2f61558d
Go to file
 
 
Cannot retrieve contributors at this time
5 lines (5 sloc) 212 Bytes
<%= form_for(current_user.relationships.find_by(followed_id: @user),
html: { method: :delete },
remote: true) do |f| %>
<%= f.submit "Unfollow", class: "btn btn-large" %>
<% end %>
You can’t perform that action at this time.