From 79b613b0e5e5a075dadc46b9ea57dc4af43c17e0 Mon Sep 17 00:00:00 2001
From: zhitomirskiyi <ilya@joindiaspora.com>
Date: Mon, 17 Jan 2011 14:07:21 -0800
Subject: [PATCH] MS IZ notifications now contain helpful test

---
 app/helpers/notifications_helper.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb
index 3736bbcc55..a051311fe7 100644
--- a/app/helpers/notifications_helper.rb
+++ b/app/helpers/notifications_helper.rb
@@ -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'
-- 
GitLab