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
964
965
966
967
|
# File 'lib/engine2/meta.rb', line 964
def self.included meta
meta.http_method :delete
meta.meta_type :bulk_delete
end
|
Instance Method Details
969
970
971
972
973
|
# File 'lib/engine2/meta.rb', line 969
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
|