Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix bug in layout guide, regenerate guides html

  • Loading branch information...
commit f7b6e70b71c7198fe8cf2c5e254d9e7dd27f5a74 1 parent fbe1e32
@ffmike ffmike authored
View
653 railties/doc/guides/html/finders.html
343 additions, 310 deletions not shown
View
4 railties/doc/guides/html/layouts_and_rendering.html
@@ -933,7 +933,7 @@ <h4 id="_linking_to_javascript_files_with_tt_javascript_include_tag_tt">3.1.2. L
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><span style="color: #FF0000">&lt;%= javascript_include_tag :all, :recursive %&gt;</span>
+<pre><tt><span style="color: #FF0000">&lt;%= javascript_include_tag :all, :recursive =&gt;</span> <span style="font-weight: bold"><span style="color: #0000FF">true</span></span> <span style="color: #990000">%&gt;</span>
</tt></pre></div></div>
<div class="para"><p>If you're loading multiple javascript files, you can create a better user experience by combining multiple files into a single download. To make this happen in production, specify <tt>:cache &#8658; true</tt> in your <tt>javascript_include_tag</tt>:</p></div>
<div class="listingblock">
@@ -1007,7 +1007,7 @@ <h4 id="_linking_to_css_files_with_tt_stylesheet_link_tag_tt">3.1.3. Linking to
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><span style="color: #FF0000">&lt;%= stylesheet_link_tag :all, :recursive %&gt;</span>
+<pre><tt><span style="color: #FF0000">&lt;%= stylesheet_link_tag :all, :recursive =&gt;</span> <span style="font-weight: bold"><span style="color: #0000FF">true</span></span> <span style="color: #990000">%&gt;</span>
</tt></pre></div></div>
<div class="para"><p>If you're loading multiple CSS files, you can create a better user experience by combining multiple files into a single download. To make this happen in production, specify <tt>:cache &#8658; true</tt> in your <tt>stylesheet_link_tag</tt>:</p></div>
<div class="listingblock">
View
4 railties/doc/guides/source/layouts_and_rendering.txt
@@ -534,7 +534,7 @@ You can supply the +:recursive+ option to load files in subfolders of +public/ja
[source, ruby]
-------------------------------------------------------
-<%= javascript_include_tag :all, :recursive %>
+<%= javascript_include_tag :all, :recursive => true %>
-------------------------------------------------------
If you're loading multiple javascript files, you can create a better user experience by combining multiple files into a single download. To make this happen in production, specify +:cache => true+ in your +javascript_include_tag+:
@@ -601,7 +601,7 @@ You can supply the +:recursive+ option to link files in subfolders of +public/st
[source, ruby]
-------------------------------------------------------
-<%= stylesheet_link_tag :all, :recursive %>
+<%= stylesheet_link_tag :all, :recursive => true %>
-------------------------------------------------------
If you're loading multiple CSS files, you can create a better user experience by combining multiple files into a single download. To make this happen in production, specify +:cache => true+ in your +stylesheet_link_tag+:
Please sign in to comment.
Something went wrong with that request. Please try again.