Removes unused method
This commit is contained in:
@@ -3,9 +3,4 @@ module NotificationsHelper
|
|||||||
def notification_action(notification)
|
def notification_action(notification)
|
||||||
notification.notifiable.reply? ? "replied_to_your_comment" : "commented_on_your_debate"
|
notification.notifiable.reply? ? "replied_to_your_comment" : "commented_on_your_debate"
|
||||||
end
|
end
|
||||||
|
|
||||||
def notifications_class_for(user)
|
|
||||||
user.notifications.count > 0 ? "with_notifications" : "without_notifications"
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user