Sha256: db05422c4380bd8a618a926447369d5073454c3ac955c1917162ed0df2e41268

Contents?: true

Size: 177 Bytes

Versions: 4

Compression:

Stored size: 177 Bytes

Contents

class DummyTableWithActions < TableCloth::Base
  column :name

  actions(td_options: {class: 'actions'}) do
    action {|object| link_to "Edit", "/#{object.id}/edit" }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
table_cloth-0.2.3 spec/support/dummy_table_with_actions.rb
table_cloth-0.2.2 spec/support/dummy_table_with_actions.rb
table_cloth-0.2.1 spec/support/dummy_table_with_actions.rb
table_cloth-0.2.0 spec/support/dummy_table_with_actions.rb