]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_mailer/friendship_notification.html.erb
Rename friends_with to follows
[rails.git] / app / views / user_mailer / friendship_notification.html.erb
index 16ddcad4916488580057151189c9258cc512bbfc..48b037d57e551aad10d2cd4d737701fc18fc72ed 100644 (file)
@@ -5,7 +5,7 @@
 <%= message_body do %>
   <p><%= t ".see_their_profile_html", :userurl => link_to(@viewurl, @viewurl) %></p>
 
-  <% unless @follow.following.friends_with?(@follow.follower) -%>
+  <% unless @follow.following.follows?(@follow.follower) -%>
   <p><%= t ".follow_them_html", :followurl => link_to(@followurl, @followurl) %></p>
   <% end -%>
 <% end %>