Skip to content

Commit

Permalink
Update lib/generators/templates/README
Browse files Browse the repository at this point in the history
  • Loading branch information
ysiadf authored and Rodrigo Flores committed Feb 13, 2012
1 parent dfcf825 commit 1f20d7d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions lib/generators/templates/README
@@ -1,15 +1,14 @@

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

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 the actual host of your application.

2. Ensure you have defined root_url to *something* in your config/routes.rb.
For example:
Expand Down

0 comments on commit 1f20d7d

Please sign in to comment.