Sha256: c0baba2c0463564ce6d745bff523e8d3efb2a68b4f04f91ecddc08f3cfeccf10
Contents?: true
Size: 497 Bytes
Versions: 2
Compression:
Stored size: 497 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 end
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
notify_user-0.0.1 | lib/generators/notify_user/install/templates/initializer.rb |
notify_user-0.0.1 | spec/dummy/rails-4.0.2/config/initializers/notify_user.rb |