about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-01-21 13:20:00 +0100
committerGitHub <noreply@github.com>2018-01-21 13:20:00 +0100
commit1287de1b83c45a972248a1375078f63f61009109 (patch)
treeca0c4ef521426b272a964447719e52f8c91540e6 /app/views
parent72f9eab3d6e35798d2797d9acaebe0d97b22f646 (diff)
Fix invalid value passed to full_asset_url in mailers (#6312)
Diffstat (limited to 'app/views')
-rw-r--r--app/views/notification_mailer/_status.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notification_mailer/_status.html.haml b/app/views/notification_mailer/_status.html.haml
index 85f9294e9..727e914dc 100644
--- a/app/views/notification_mailer/_status.html.haml
+++ b/app/views/notification_mailer/_status.html.haml
@@ -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}"