Class: AppKit::Views::Dashboard

Inherits:
Base
  • Object
show all
Defined in:
lib/app_kit/views/dashboard.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDashboard

Returns a new instance of Dashboard.



3
4
5
# File 'lib/app_kit/views/dashboard.rb', line 3

def initialize
  @items = []
end

Instance Attribute Details

#itemsObject

Returns the value of attribute items.



2
3
4
# File 'lib/app_kit/views/dashboard.rb', line 2

def items
  @items
end

Instance Method Details

#table(resource, options = {}, &block) ⇒ Object



6
7
8
9
# File 'lib/app_kit/views/dashboard.rb', line 6

def table(resource, options={}, &block)
  options[:filter] = false
  super(resource, options, &block)
end