Method: MotionPrime::AbstractCollectionSection#collection_data
- Defined in:
- motion-prime/sections/abstract_collection.rb
#collection_data ⇒ Array<Prime::Section>
Return sections which will be used to render as collection cells.
This method should be redefined in your collection section and must return array.
35 36 37 |
# File 'motion-prime/sections/abstract_collection.rb', line 35 def collection_data @model || [] end |