Skip to content
Snippets Groups Projects
Commit 9b860717 authored by Taico Aerts's avatar Taico Aerts
Browse files

Fix notification typo

parent d948a7b3
Branches
No related tags found
1 merge request!73Update badge display
......@@ -43,7 +43,7 @@ class BadgeAutobiographer
# @param [User] recv_user - The user who receives the badge
def self.notify(new_badge, recv_user)
content = "You have been awarded the badge '#{new_badge.badge.title}'
for updating your profile'"
for updating your profile"
link = Rails.application.routes.path_for(controller: 'users', action: 'awarded_badges',
id: recv_user.id)
recv_user.create_notification(content, link)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment