Skip to content
Permalink
4f2f61558d
Go to file
 
 
Cannot retrieve contributors at this time
5 lines (5 sloc) 231 Bytes
<%= form_for(current_user.relationships.build(followed_id: @user.id),
remote: true) do |f| %>
<div><%= f.hidden_field :followed_id %></div>
<%= f.submit "Follow", class: "btn btn-large btn-primary" %>
<% end %>
You can’t perform that action at this time.