Class: Thredded::NotificationsForFollowedTopics

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
NotifierPreference
Defined in:
app/models/thredded/notifications_for_followed_topics.rb

Class Method Summary collapse

Methods included from NotifierPreference

#notifier

Class Method Details

.default(_notifier) ⇒ Object



20
21
22
23
# File 'app/models/thredded/notifications_for_followed_topics.rb', line 20

def self.default(_notifier)
  # could be moved to  `notifier.defaults(:notifications_for_followed_topics)`
  Thredded::BaseNotifier::NotificationsDefault.new(true)
end