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 Mar 1, 2024
1 parent 607cdb6 commit c4ea7f8
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 @@ -286,7 +286,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 c4ea7f8

Please sign in to comment.