forked from thoughtbot/clearance
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integration coverage to make sure the README gets printed to standard…
… out when running install generator
- Loading branch information
Dan Croak
committed
Feb 13, 2011
1 parent
29d862e
commit 342a930
Showing
3 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,22 @@ | ||
|
||
******************************************************************************* | ||
|
||
Next: | ||
Next steps: | ||
|
||
1. Configure default url options for the mailer to generate URLs in emails. | ||
In production.rb it must be the actual host your application is deployed to. | ||
In config/environments/test.rb and config/environments/development.rb: | ||
1. Configure the mailer to create full URLs in emails: | ||
|
||
config.action_mailer.default_url_options = { :host => 'localhost:3000' } | ||
|
||
In production it should be your app's domain name. | ||
|
||
2. Migrate: | ||
|
||
rake db:migrate | ||
|
||
3. Make sure you're displaying flashes somewhere. For instance, in a layout: | ||
3. Display flashes. For example, in your application layout: | ||
|
||
<div id="flash"> | ||
<% flash.each do |key, value| -%> | ||
<div id="flash_<%= key %>"><%=h value %></div> | ||
<% end -%> | ||
</div> | ||
<% flash.each do |key, value| -%> | ||
<div class="flash <%= key %>"><%=h value %></div> | ||
<% end -%> | ||
|
||
******************************************************************************* |