/ Published in: Ruby
Renders the partial template called 'cart', sends along local variable @cart, this will be known locally using the same name as the partial, 'cart'.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<%= render(:partial => "cart", :object => @cart) %>