spec/support/dummy_table.rb in table_cloth-0.2.2 vs spec/support/dummy_table.rb in table_cloth-0.2.3
- old
+ new
@@ -1,6 +1,6 @@
class DummyTable < TableCloth::Base
- column :id, if: :admin?
+ column :id
column :name
column :email
def admin?
view.admin?
\ No newline at end of file