From d9421e01df50d03df23922a1f955f365e4c4e641 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 21 Jan 2018 13:20:00 +0100 Subject: [PATCH] Fix invalid value passed to full_asset_url in mailers (#6312) --- app/views/notification_mailer/_status.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/notification_mailer/_status.html.haml b/app/views/notification_mailer/_status.html.haml index 85f9294e93..727e914dcc 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}"