Sha256: f59eb03e2dcf9d5b347d07e2c7a4e5f06ccc665e2f193fbcd859c9386bd5e618
Contents?: true
Size: 604 Bytes
Versions: 61
Compression:
Stored size: 604 Bytes
Contents
NotifyUser.setup do |config| # Override the email address from which notifications appear to be sent. config.mailer_sender = "please-change-me-at-config-initializers-notify-user@example.com" # NotifyUser will call this within NotificationsController to ensure the user is authenticated. config.authentication_method = :authenticate_user! # NotifyUser will call this within NotificationsController to return the current logged in user. config.current_user_method = :current_user # Override the default notification type config.unsubscribable_notifications = ['NewPostNotification'] end
Version data entries
61 entries across 26 versions & 1 rubygems