lib/generators/templates/README in devise-2.0.1 vs lib/generators/templates/README in devise-2.0.2
- old
+ new
@@ -1,16 +1,15 @@
-
===============================================================================
Some setup you must do manually if you haven't yet:
- 1. Setup default url options for your specific environment. Here is an
- example of development environment:
+ 1. Ensure you have defined default url options in your environments files. Here
+ is an example of default_url_options appropriate for a development environment
+ in config/environments/development.rb:
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
- This is a required Rails configuration. In production it must be the
- actual host of your application
+ In production, :host should be set to the actual host of your application.
2. Ensure you have defined root_url to *something* in your config/routes.rb.
For example:
root :to => "home#index"