From 364502a134b30a7e1af7625c5ab528da166b2708 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Thu, 1 Sep 2016 00:55:30 +0200 Subject: [PATCH] bring back sender avatar --- app/views/layouts/notifier.html.erb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/notifier.html.erb b/app/views/layouts/notifier.html.erb index 1a8462455..69b0d9a8d 100644 --- a/app/views/layouts/notifier.html.erb +++ b/app/views/layouts/notifier.html.erb @@ -1,9 +1,10 @@ - <% if @sender %> - <% end %>
-
- <%=@sender.name%> + <% if @notification.try(:sender) %> +
+
+ <%=@notification.sender%>