Skip to content

Commit

Permalink
That's a helper
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtOfCode- committed Jan 17, 2025
1 parent 4e6d2d3 commit eb65474
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 @@ -81,7 +81,7 @@ def privilege(internal_id)
def grant_privilege!(internal_id)
priv = Ability.where(internal_id: internal_id).first
UserAbility.create community_user_id: id, ability: priv
user.create_notification("You've earned the #{priv.name} ability! Learn more.", ability_url(priv))
user.create_notification("You've earned the #{priv.name} ability! Learn more.", helpers.ability_url(priv))
end

##
Expand Down

0 comments on commit eb65474

Please sign in to comment.