Fix call to inefficient delete_matched cache method in domain blocks (#28374)

This commit is contained in:
Claire authored and GitHub committed 2023-12-18 16:14:43 +00:00
1 parent f4b9c2ba40
commit 7d9b209fe8
11 files changed
+96 -50

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ class RelationshipsController < ApplicationController
end
def set_relationships
@relationships = AccountRelationshipsPresenter.new(@accounts.pluck(:id), current_user.account_id)
@relationships = AccountRelationshipsPresenter.new(@accounts, current_user.account_id)
end
def form_account_batch_params