Sha256: 676a9ab1eab64d1b620be850ff651edb047055c95b26d2be2452a53ec0b9511d
Contents?: true
Size: 201 Bytes
Versions: 4
Compression:
Stored size: 201 Bytes
Contents
json.data @objects do |object| object_template = local_assigns.fetch(:model_template, response_template_for(object)) json.partial! partial: "models/#{object_template}", locals: {object: object} end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
apes-1.0.3 | views/collection.json.jbuilder |
apes-1.0.2 | views/collection.json.jbuilder |
apes-1.0.1 | views/collection.json.jbuilder |
apes-1.0.0 | views/collection.json.jbuilder |