Skip to content

Commit

Permalink
Updating README.textile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Morrison committed Jan 15, 2010
1 parent 216ce29 commit 5e4637b
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions README.textile
Expand Up @@ -61,8 +61,13 @@ rake db:migrate

h2. If you aren't on Suspenders, you aren't done

Define a HOST constant in your environment files.
In config/environments/test.rb and config/environments/development.rb it can be:
Define a HOST constant in your environment files. In:

* config/environments/test.rb
* config/environments/development.rb
* config/environments/cucumber.rb

it can be:

<pre>
HOST = "localhost"
Expand All @@ -86,11 +91,11 @@ map.root :controller => 'home'
Make sure flash messages are shown in your layout:

<pre>
&lt;div id="flash"&gt;
&lt;% flash.each do |key, value| -%&gt;
&lt;div id="flash_&lt;%= key %&gt;"&gt;&lt;%=h value %&gt;&lt;/div&gt;
&lt;% end -%&gt;
&lt;/div&gt;
<div id="flash">
<% flash.each do |key, value| -%>
<div id="flash_<%= key %>"><%=h value %></div>
<% end -%>
</div>
</pre>

h2. Upgrading
Expand Down

0 comments on commit 5e4637b

Please sign in to comment.