From c4ea7f85f64a65d7d6e6428fd8798860757955c6 Mon Sep 17 00:00:00 2001 From: MontrealSergiy Date: Fri, 9 Feb 2024 15:59:31 -0500 Subject: [PATCH] documenting special custom properties, author #1128 --- BrainPortal/lib/boutiques_support.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BrainPortal/lib/boutiques_support.rb b/BrainPortal/lib/boutiques_support.rb index f9f3ed5b9..4a3f6d3fd 100644 --- a/BrainPortal/lib/boutiques_support.rb +++ b/BrainPortal/lib/boutiques_support.rb @@ -286,7 +286,7 @@ def file_revision_info # "custom": { "cbrain:author": "Full Name , Co-author Name " } # def author_custom - authors = self.custom['cbain:author'] + authors = self.custom['cbrain:author'] return authors if authors is_a? String return authors.join(", ") # if author field is arrays end