From 40ffeeaeb01c41ec1c876621bbf8652836e5196a Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Fri, 8 Jan 2016 12:46:02 +0100 Subject: [PATCH] Removes unused method --- app/helpers/notifications_helper.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb index 1945d7c5b..63618440b 100644 --- a/app/helpers/notifications_helper.rb +++ b/app/helpers/notifications_helper.rb @@ -3,9 +3,4 @@ module NotificationsHelper def notification_action(notification) notification.notifiable.reply? ? "replied_to_your_comment" : "commented_on_your_debate" end - - def notifications_class_for(user) - user.notifications.count > 0 ? "with_notifications" : "without_notifications" - end - end