MS IZ notifications now contain helpful test

This commit is contained in:
zhitomirskiyi 2011-01-17 14:07:21 -08:00
parent 254c411bd9
commit 79b613b0e5

View file

@ -1,6 +1,6 @@
module NotificationsHelper
def object_link(note)
target_type = note.target_type
target_type = note.action
translation = t("notifications.#{target_type}")
case target_type
when 'request_accepted'