Module: Thredded::NotifierPreference

Extended by:
ActiveSupport::Concern
Included in:
MessageboardNotificationsForFollowedTopics, NotificationsForFollowedTopics, NotificationsForPrivateTopics
Defined in:
app/models/concerns/thredded/notifier_preference.rb

Instance Method Summary collapse

Instance Method Details

#notifierObject


15
16
17
# File 'app/models/concerns/thredded/notifier_preference.rb', line 15

def notifier
  @notifier ||= Thredded.notifiers.find { |notifier| notifier.key == notifier_key }
end