From da9cbcc9acbfbd6b089945017dfe7dfc969ac6da Mon Sep 17 00:00:00 2001 From: pabois <pierreandre.boissinot@noesya.coop> Date: Mon, 22 May 2023 14:10:01 +0200 Subject: [PATCH] comment --- app/models/communication/website/with_connected_objects.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/communication/website/with_connected_objects.rb b/app/models/communication/website/with_connected_objects.rb index 109bf8702..2c3c783fc 100644 --- a/app/models/communication/website/with_connected_objects.rb +++ b/app/models/communication/website/with_connected_objects.rb @@ -69,6 +69,7 @@ module Communication::Website::WithConnectedObjects University::Organization.where(id: ids) end + # ensure the object "website" respond to both is_direct_object? and is_indirect_object? as website doesn't include neither as_direct_object nor as_indirect_object def is_direct_object? true end -- GitLab