Skip to content

Commit

Permalink
documenting special custom properties, author aces#1128
Browse files Browse the repository at this point in the history
  • Loading branch information
MontrealSergiy committed Feb 9, 2024
1 parent 8314e40 commit 90c500f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BrainPortal/lib/boutiques_support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def file_revision_info
# "custom": { "cbrain:author": "Full Name <email@address.ca>, Co-author Name <anotheremail@address.org>" }
#
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
Expand Down

0 comments on commit 90c500f

Please sign in to comment.