Skip to content

Commit

Permalink
Update to use internal_id
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtOfCode- committed Jan 17, 2025
1 parent 823110b commit 36f9dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/community_user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def grant_privilege!(internal_id, notify: true)
if notify
community_host = priv.community.host
user.create_notification("You've earned the #{priv.name} ability! Learn more.",
url_helpers.ability_url(priv, host: community_host))
url_helpers.ability_url(priv.internal_id, host: community_host))
end
end

Expand Down

0 comments on commit 36f9dfd

Please sign in to comment.