From 502b4730c8108b81a76b78150dcdadaee89e012e Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 22 Jan 2014 11:27:57 -0500 Subject: [PATCH] FIX: Don't show uncategorized badges in digest emails --- app/views/user_notifications/digest.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/user_notifications/digest.html.erb b/app/views/user_notifications/digest.html.erb index 41972334185..53411c2fb7c 100644 --- a/app/views/user_notifications/digest.html.erb +++ b/app/views/user_notifications/digest.html.erb @@ -36,7 +36,7 @@ <%= t('user_notifications.digest.posts', count: t.posts_count) %> - <%- if t.category %><%= t.category.name %><%- end %> + <%- if t.category && !t.category.uncategorized? %><%= t.category.name %><%- end %> <%- end -%>