]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_mailer/_message_body.html.erb
Merge pull request #4193 from AntonKhorev/lookup-friend
[rails.git] / app / views / user_mailer / _message_body.html.erb
index d572fb9d0a79e92e7486b56218d63792295b0116..851f153a2a9a2a1938d0130b97098d5b42a687b6 100644 (file)
@@ -3,7 +3,7 @@
     <td style="width: 50px; min-width: 50px; vertical-align: top; padding: 15px">
       <%= link_to(
             image_tag(
     <td style="width: 50px; min-width: 50px; vertical-align: top; padding: 15px">
       <%= link_to(
             image_tag(
-              attachments["avatar.png"].url,
+              attachments[@avatar].url,
               :alt => @author,
               :title => @author,
               :width => 50,
               :alt => @author,
               :title => @author,
               :width => 50,