From f5fdfff749332da7c5f244d6e32c319573ff0712 Mon Sep 17 00:00:00 2001 From: LaRita Robinson Date: Fri, 12 Jan 2024 14:46:59 -0500 Subject: [PATCH] Update nestable method in test `collection_type_is_nestable?` replaces `any_nestable?` --- app/views/hyrax/my/_collection_action_menu.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/hyrax/my/_collection_action_menu.html.erb b/app/views/hyrax/my/_collection_action_menu.html.erb index 98cc23db7..4cfc43b6f 100644 --- a/app/views/hyrax/my/_collection_action_menu.html.erb +++ b/app/views/hyrax/my/_collection_action_menu.html.erb @@ -33,7 +33,7 @@ <% end %> - <% if Hyrax::CollectionType.any_nestable? %> + <% if collection_presenter.collection_type_is_nestable? %> <% # The user should have deposit access to the parent we are adding, and read access to the child (the collection we are linking here). %>