Skip to content
Browse files

fix spacer template example

  • Loading branch information...
1 parent 8934bda commit 2aaa9da6fda40dff3cc0ed393114bfd41fa04840 @lest lest committed Feb 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/layouts_and_rendering.textile
2 railties/guides/source/layouts_and_rendering.textile
@@ -1188,7 +1188,7 @@ You can also specify a second partial to be rendered between instances of the ma
h5. Spacer Templates
-<%= render @products, :spacer_template => "product_ruler" %>
+<%= render :partial => @products, :spacer_template => "product_ruler" %>
Rails will render the +_product_ruler+ partial (with no data passed in to it) between each pair of +_product+ partials.

0 comments on commit 2aaa9da

Please sign in to comment.
Something went wrong with that request. Please try again.