commit: 1287de1b83c45a972248a1375078f63f61009109
parent: 72f9eab3d6e35798d2797d9acaebe0d97b22f646
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Sun, 21 Jan 2018 13:20:00 +0100
Fix invalid value passed to full_asset_url in mailers (#6312)
Diffstat:
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
@@ -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}"