]> cat aescling's git repositories - mastodon.git/commitdiff
Fix invalid value passed to full_asset_url in mailers (#6312)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 21 Jan 2018 12:20:00 +0000 (13:20 +0100)
committerGitHub <noreply@github.com>
Sun, 21 Jan 2018 12:20:00 +0000 (13:20 +0100)
app/views/notification_mailer/_status.html.haml

index 85f9294e936e9d221b2e6a4f7716eda2fc5b73c0..727e914dcc343cd3da9bac0bcb24bdd104f7829e 100644 (file)
@@ -19,7 +19,7 @@
                                 %tbody
                                   %tr
                                     %td{ align: 'left', width: 48 }
-                                      = image_tag full_asset_url(status.account.avatar), alt:''
+                                      = image_tag full_asset_url(status.account.avatar.url), alt:''
                                     %td{ align: 'left' }
                                       %bdi= display_name(status.account)
                                       = "@#{status.account.acct}"