Sha256: 117175fc24c1e017ccb6813b884c4c30bc31c09421cefa724b92ba7751df76d8

Contents?: true

Size: 586 Bytes

Versions: 2

Compression:

Stored size: 586 Bytes

Contents

# frozen_string_literal: true

NotificationHandler.configure do |config|
  # Cache amount of unread and read notifications for notification targets.
  # Learn more: https://github.com/jonhue/notifications-rails/tree/master/notification-handler#caching
  # config.cache = false

  # Groups are a powerful way to bulk-create notifications for multiple objects
  # that don't necessarily have a common class.
  # Learn more: https://github.com/jonhue/notifications-rails/tree/master/notification-handler#groups
  # config.define_group :subscribers, -> { User.where(subscriber: true) }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
notification-handler-3.0.2 lib/generators/templates/install/initializer.rb
notification-handler-2.0.0 lib/generators/templates/install/initializer.rb