]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_mailer/friendship_notification.text.erb
Merge pull request #4680 from tomhughes/validate-page-numbers
[rails.git] / app / views / user_mailer / friendship_notification.text.erb
index da859d31c7b25bfa4cb457659a480eddd5669d41..22c2bbfe7e6efcf14845bb4ec87843d6abc2b3c1 100644 (file)
@@ -2,6 +2,6 @@
 
 <%= t '.see_their_profile', :userurl => @viewurl %>
 
-<% unless @friendship.befriendee.is_friends_with?(@friendship.befriender) -%>
+<% unless @friendship.befriendee.friends_with?(@friendship.befriender) -%>
 <%= t '.befriend_them', :befriendurl => @friendurl %>
 <% end -%>