Sha256: 597bcea36097a128e8bd8b3e4027de53fee990297d40bb45bcd57f656b07869b

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

module Effective
  module Datatables
    class <%= namespaced_class_name %> < Effective::Datatable

      datatable do<% attributes.each do |attribute| %>
        table_column :<%= attribute.name -%>
<% end %>

        actions_column
      end

      def collection
        <%= class_name %>.all
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
effective_developer-0.0.9 lib/scaffolds/datatables/datatable.rb