fix spacer template example

This commit is contained in:
Sergey Nartimov
2012-02-12 22:00:09 +03:00
committed by Vijay Dev
parent ea54d2c93e
commit ed3a15da90

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.