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:
parent
8934bda200
commit
2aaa9da6fd
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue