Class: ActiveAdmin::Favorites::ViewLens::Current

Inherits:
ActiveSupport::CurrentAttributes
  • Object
show all
Defined in:
lib/activeadmin/favorites/view_lens/current.rb

Instance Method Summary collapse

Instance Method Details

#block_column_sequenceObject



22
23
24
# File 'lib/activeadmin/favorites/view_lens/current.rb', line 22

def block_column_sequence
  super || self.block_column_sequence = Hash.new(0)
end

#registered_columnsObject



10
11
12
# File 'lib/activeadmin/favorites/view_lens/current.rb', line 10

def registered_columns
  super || self.registered_columns = Hash.new { |hash, key| hash[key] = [] }
end

#registered_panelsObject



14
15
16
# File 'lib/activeadmin/favorites/view_lens/current.rb', line 14

def registered_panels
  super || self.registered_panels = Hash.new { |hash, key| hash[key] = [] }
end

#registered_rowsObject



18
19
20
# File 'lib/activeadmin/favorites/view_lens/current.rb', line 18

def registered_rows
  super || self.registered_rows = Hash.new { |hash, key| hash[key] = [] }
end