2
0
Fork 0
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:
Vikhyat Korrapati 2014-04-17 01:29:45 +05:30
parent b55734da91
commit 89f45901bc
6 changed files with 19 additions and 4 deletions

View file

@ -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