friendship = Friendship.new
friendship.befriender = current_user
friendship.befriendee = @new_friend
friendship = Friendship.new
friendship.befriender = current_user
friendship.befriendee = @new_friend
- if current_user.is_friends_with?(@new_friend)
- flash[:warning] = t "friendships.make_friend.already_a_friend", :name => @new_friend.display_name
+ if current_user.friends_with?(@new_friend)
+ flash[:warning] = t ".already_a_friend", :name => @new_friend.display_name