1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00
heartcombo--devise/generators/devise/templates
2009-11-10 18:55:13 -02:00
..
migration.rb Tidying up encryptors. 2009-11-10 18:55:13 -02:00
model.rb Adding simple devise generator to create a model, migration and route. 2009-10-23 10:13:23 -02:00
README Skip authentication filters by default on Devise controllers and add devise_controller? to select/reject other filters. 2009-11-06 09:33:18 -02:00

================================================================================

Some setup you must do manually if you haven't yet:

1. Setup defaut url options for your specific environment. Here is an example of development environment:

    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.

2. Setup default sender for mails. In config/environment.rb:

    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:

    map.root :controller => 'home'

================================================================================