mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Create notification when badge is granted.
This commit is contained in:
parent
b55734da91
commit
89f45901bc
6 changed files with 19 additions and 4 deletions
|
@ -28,7 +28,7 @@ class Notification < ActiveRecord::Base
|
|||
@types ||= Enum.new(
|
||||
:mentioned, :replied, :quoted, :edited, :liked, :private_message,
|
||||
:invited_to_private_message, :invitee_accepted, :posted, :moved_post,
|
||||
:linked
|
||||
:linked, :granted_badge
|
||||
)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue