Skip to content

Commit 17b710b

Browse files
vandrijevikjashkenas
authored andcommitted
Clarify the different routes behaviour between Rails 2 and 3,
and refactor Step 3 of the installation instructions so it's clearer.
1 parent 9156b6a commit 17b710b

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

index.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,9 @@ <h2 id="installation">Installation</h2>
141141
<tt>config.gem "jammit"</tt>
142142
</li>
143143
<li>
144-
If you're using <b>Rails 2</b>, edit <b>config/routes.rb</b> to give Jammit a route
145-
( <b>/assets</b> by default) for dynamic asset packaging and caching.
146-
In <b>Rails 3</b>, this route is loaded automatically.
147-
<br /><br />
148-
144+
<p>If you're using <b>Rails 3</b> you're done &mdash; Jammit routes are loaded automatically into your app.</p>
145+
<p>If you're using <b>Rails 2</b>, edit <b>config/routes.rb</b> to give Jammit a route
146+
( <b>/assets</b> by default) for dynamic asset packaging and caching.</p>
149147
<pre>
150148
ActionController::Routing::Routes.draw do |map|
151149
...

0 commit comments

Comments
 (0)