Issue#15: Added Comment Notifications: notification_emails and comments view
This commit is contained in:
parent
a73ca335a9
commit
38e8be8793
16 changed files with 155 additions and 13 deletions
|
|
@ -278,4 +278,8 @@ module ApplicationHelper
|
|||
new_user_registration_path
|
||||
end
|
||||
end
|
||||
|
||||
def unread_notifications(user)
|
||||
@unread_notifications = Comment.find_since_last_login(user)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue