Method: SectionRenderer#item_render_hash
- Defined in:
- app/presentation/section_renderer.rb
#item_render_hash(item) ⇒ Object
used only with with list_with_limit functionality in section_display partial.
380 381 382 383 384 385 386 |
# File 'app/presentation/section_renderer.rb', line 380 def item_render_hash(item) # need to clone @options[:partial_locals], because # Rails will modify it to add the 'object' to it. Bah! {:partial => @options[:item_partial], :object => item, :locals => @options[:partial_locals].clone} end |