Sha256: f8f03c76603a9eb183717c289683f12be6a2119538b194cd9abd3f2f09821e37
Contents?: true
Size: 394 Bytes
Versions: 2
Compression:
Stored size: 394 Bytes
Contents
module PaginatedTable module ViewHelpers def paginated_table(data_page, &block) table_description = TableDescription.new(block) link_renderer = LinkRenderer.new(data_page.page) table_renderer = TableRenderer.new(self, table_description, data_page, link_renderer) table_renderer.render end end end ActionView::Base.send :include, PaginatedTable::ViewHelpers
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
paginated_table-0.0.8 | lib/paginated_table/view_helpers.rb |
paginated_table-0.0.7 | lib/paginated_table/view_helpers.rb |