app/controllers/avo/actions_controller.rb in avo-2.25.1.pre.1.pr1579 vs app/controllers/avo/actions_controller.rb in avo-2.26.0
- old
+ new
@@ -33,10 +33,10 @@
unless @action.standalone
args[:models] = if @selected_query.present?
@resource.model_class.find_by_sql decrypted_query
else
- @resource.find_record resource_ids
+ @resource.class.find_scope.find resource_ids
end
end
performed_action = @action.handle_action(**args)