You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello , I am using amistad now. It is a nice gem but i can add a friend many times. Can you show me a way to avoid it?
this is my link to add friends , I could avoid self friendship. :
Hello , I am using amistad now. It is a nice gem but i can add a friend many times. Can you show me a way to avoid it?
this is my link to add friends , I could avoid self friendship. :
<% unless current_user == @user %>
<%= link_to "Arkadaşlarıma Ekle", friends_path(:user_id => @user), :method => :post,class: "btn btn-large btn-primary" %>
<%end %>
The text was updated successfully, but these errors were encountered: