From 6985493e5c167119fcce2a731bed567adba7502d Mon Sep 17 00:00:00 2001 From: raluka Date: Mon, 24 Aug 2015 17:44:24 +0200 Subject: [PATCH] unread_notifications has no longer assigned instance variable --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 9a0131f8..54d79425 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -280,6 +280,6 @@ module ApplicationHelper end def unread_notifications(user) - @unread_notifications = Comment.find_since_last_login(user) + Comment.find_since_last_login(user) end end