开发者

Render partials with collection

开发者 https://www.devze.com 2023-01-26 16:55 出处:网络
How does the render :partial => \'/comment/form\', :collection=>@blog.comments work? What object does this pass to the partia开发者_JS百科l view? How do I access the comment object in partial vi

How does the render :partial => '/comment/form', :collection=>@blog.comments work? What object does this pass to the partia开发者_JS百科l view? How do I access the comment object in partial view?

0

精彩评论

暂无评论...
验证码 换一张
取 消