Sha256: a94e1e4c88445fdb8bfb9d2edc68f37dcaad6719564330c2787b2d9b6f0c4713
Contents?: true
Size: 293 Bytes
Versions: 10
Compression:
Stored size: 293 Bytes
Contents
class TasksIndexTableSection < Prime::TableSection def collection_data Task.all.map do |model| TasksIndexCellSection.new(model: model) end end def on_click(index) section = data[index.row] screen.open_screen 'tasks#show', params: { model: section.model } end end
Version data entries
10 entries across 10 versions & 1 rubygems