Files
grecia/app/helpers/notifications_helper.rb
Alberto Garcia Cabeza 40ffeeaeb0 Removes unused method
2016-01-08 12:46:02 +01:00

7 lines
170 B
Ruby

module NotificationsHelper
def notification_action(notification)
notification.notifiable.reply? ? "replied_to_your_comment" : "commented_on_your_debate"
end
end