mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
Skip authentication filters by default on Devise controllers and add devise_controller? to select/reject other filters.
This commit is contained in:
@@ -7,12 +7,13 @@ Some setup you must do manually if you haven't yet:
|
||||
|
||||
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
|
||||
|
||||
It's a Rails required configuration.
|
||||
In production it must be the actual host your application is deployed to.
|
||||
It's a Rails required configuration. In production it must be the actual host your application is deployed to.
|
||||
|
||||
2. Setup default sender for mails.In config/environment.rb:
|
||||
2. Setup default sender for mails. In config/environment.rb:
|
||||
|
||||
Notifier.sender = "test@example.com"
|
||||
DeviseMailer.sender = "test@example.com"
|
||||
|
||||
You can also configure this value by running script/generate devise_install and setting config.mailer_sender,
|
||||
|
||||
3. Ensure you have defined root_url to *something* in your config/routes.rb:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user