Removes unused method

This commit is contained in:
Alberto Garcia Cabeza
2016-01-08 12:46:02 +01:00
parent e008d1f642
commit 40ffeeaeb0

View File

@@ -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