Sha256: 2a43f35b7abe92442e9a51e57abe81436ca73985db872be5ddb37bd9042376c9
Contents?: true
Size: 251 Bytes
Versions: 1
Compression:
Stored size: 251 Bytes
Contents
class <%= namespaced_class_name %>Datatable < Effective::Datatable datatable do<% attributes.each do |attribute| %> table_column :<%= attribute.name -%> <% end %> actions_column end def collection <%= class_name %>.all end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
effective_developer-0.0.10 | lib/scaffolds/datatables/datatable.rb |