Sha256: a92b8ada7a77479c817aa52a70a6a5e1c0cd8bf3c989eb2444f0d07390e734ee
Contents?: true
Size: 742 Bytes
Versions: 2
Compression:
Stored size: 742 Bytes
Contents
DeviseOnesignal.configure do |config| ### ONESIGNAL ### # Your OneSignal app id. Create one here: https://onesignal.com config.app_id = '' ### DEVISE ### # Specify your devise class. Defaults to `'User'`. # config.devise_class = 'User' ### CUSTOMIZATION ### # Automatically try to subscribe the user when loading a page. Defaults to `false`. # config.auto_register = false # Automatically dismiss the notification after ~20 seconds in Chrome. Defaults to `false`. # config.persist_notification = false # Show a modal instead of a native browser window when subscribing a user to OneSignal. Defaults to `false`. # config.subscribe_with_modal = false end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise-onesignal-2.0.1 | lib/generators/templates/initializer.rb |
devise-onesignal-2.0.0 | lib/generators/templates/initializer.rb |