Module: Engine2::MetaBulkDeleteSupport
Class Method Summary
collapse
Instance Method Summary
collapse
#action_defined, #get_type_info, #hide_pk, #show_pk, #unsupported_association
Class Method Details
.included(meta) ⇒ Object
799
800
801
802
|
# File 'lib/engine2/meta.rb', line 799
def self.included meta
meta.http_method :delete
meta.meta_type :bulk_delete
end
|
Instance Method Details
804
805
806
807
808
|
# File 'lib/engine2/meta.rb', line 804
def pre_run
super
action.parent.parent.*.
action.parent.parent.*.(:menu).option_after :default_order, :confirm_bulk_delete, icon: "trash", show: "action.selected_size() > 0"
end
|