Module: Component::CollectionTable::AwesomeNestedSetConcern

Extended by:
ActiveSupport::Concern
Included in:
Component::CollectionTable
Defined in:
app/concerns/component/collection_table/awesome_nested_set_concern.rb

Instance Method Summary collapse

Instance Method Details

#awesome_nested_set_actions(name, options = {}, &block) ⇒ Object


5
6
7
8
# File 'app/concerns/component/collection_table/awesome_nested_set_concern.rb', line 5

def awesome_nested_set_actions(name, options = {}, &block)
  options.reverse_merge!(render_as: :awesome_nested_set, scope: nil, title: t('.column_titles.awesome_nested_set'))
  column(name, options, &block)
end