toJSON() missing?
rantecki opened this issue · 1 comments
rantecki commented
I couldn't get the example in the Usage to work. After an hour or two of digging I worked out that adding toJSON() to the end of getAssociatedFiles() fixes the problem, i.e.:
<% for file in @getDocument().getAssociatedFiles().toJSON(): %>
<%= file.url %>
<% end %>