Class: Thredded::NotificationsForPrivateTopics

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

Class Method Summary collapse

Methods included from NotifierPreference

#notifier

Class Method Details

.default(_notifier) ⇒ Object


17
18
19
20
# File 'app/models/thredded/notifications_for_private_topics.rb', line 17

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