app/datatables/olivander/datatable.rb in five-two-nw-olivander-0.2.0.4 vs app/datatables/olivander/datatable.rb in five-two-nw-olivander-0.2.0.5
- old
+ new
@@ -22,10 +22,10 @@
klazz_attributes = instance.attributes.collect{ |x| x[0] }
column_attributes = klazz_attributes
column_attributes &&= only if only.size.positive?
column_attributes -= except if except.size.positive?
resources_sym = klazz.table_name.to_sym
- bulk_action_list = Olivander::CurrentContext.application_context.route_builder.resources[resources_sym]&.datatable_bulk_actions || []
+ bulk_action_list = Olivander::CurrentContext.build.application_context.route_builder.resources[resources_sym]&.datatable_bulk_actions || []
default_hidden = %w[
id created updated created_at updated_at
deleted_at current_user current_action
application_tenant_id created_by_id updated_by_id
]