]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_mailer/friendship_notification.html.erb
Merge remote-tracking branch 'upstream/pull/4620'
[rails.git] / app / views / user_mailer / friendship_notification.html.erb
index 0f2353150b15d37ca0d6b0b47d806b339b0d9b09..ee2dea2ebfad31cb0bfc5a19c54cda347b0eda77 100644 (file)
@@ -3,7 +3,7 @@
 <%= message_body do %>
   <p><%= t ".see_their_profile_html", :userurl => link_to(@viewurl, @viewurl) %></p>
 
-  <% unless @friendship.befriendee.is_friends_with?(@friendship.befriender) -%>
+  <% unless @friendship.befriendee.friends_with?(@friendship.befriender) -%>
   <p><%= t ".befriend_them_html", :befriendurl => link_to(@friendurl, @friendurl) %></p>
   <% end -%>
 <% end %>