added test file for comments_controller WIP
This commit is contained in:
parent
e5c235ac32
commit
d365d5efa1
3 changed files with 35 additions and 3 deletions
|
|
@ -280,6 +280,6 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
def unread_notifications(user)
|
||||
Comment.accessible_by(current_ability).find_since_last_login(current_user).limit(5)
|
||||
Comment.accessible_by(current_ability).find_since_last_login(user).limit(5)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue