1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Skip authentication filters by default on Devise controllers and add devise_controller? to select/reject other filters.

This commit is contained in:
José Valim 2009-11-06 09:33:18 -02:00
parent 48ef471b75
commit 1db50dee36
8 changed files with 40 additions and 11 deletions

View file

@ -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: