FEATURE: support for custom notification types

used by solved plugin
This commit is contained in:
Sam
2015-06-15 14:18:03 +10:00
parent 1459aab0a2
commit 37dfb1b4b5
2 changed files with 10 additions and 2 deletions

View File

@@ -31,7 +31,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, :granted_badge, :invited_to_topic
:linked, :granted_badge, :invited_to_topic, :custom
)
end