1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fix spacer template example

This commit is contained in:
Sergey Nartimov 2012-02-12 22:00:09 +03:00
parent 8934bda200
commit 2aaa9da6fd

View file

@ -1188,7 +1188,7 @@ You can also specify a second partial to be rendered between instances of the ma
h5. Spacer Templates
<erb>
<%= render @products, :spacer_template => "product_ruler" %>
<%= render :partial => @products, :spacer_template => "product_ruler" %>
</erb>
Rails will render the +_product_ruler+ partial (with no data passed in to it) between each pair of +_product+ partials.