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

26 lines
837 B
Text
Raw Normal View History

===============================================================================
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:
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
2010-04-29 05:38:00 +08:00
This is a required Rails configuration. In production it must be the
actual host of your application
2010-02-17 16:37:27 +01:00
2. Ensure you have defined root_url to *something* in your config/routes.rb.
For example:
2010-02-17 16:37:27 +01:00
root :to => "home#index"
3. Ensure you have flash messages in app/views/layouts/application.html.erb.
For example:
2010-04-09 09:50:45 -07:00
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
===============================================================================