Sha256: ff88b2f61eb663ae59e1150e274abb1acfd30bed06034bccaa6ba8a733372089
Contents?: true
Size: 356 Bytes
Versions: 14
Compression:
Stored size: 356 Bytes
Contents
json.assets @assets do |asset| json.partial! 'asset', asset: asset json.links do json.url media_path(asset) json.preview asset.image? ? media_path(asset, style: :push_type_thumb) : image_path("push_type/icons-assets.svg##{ asset.kind }") end end json.meta do json.partial! 'push_type/api/shared/pagination', collection: @assets end
Version data entries
14 entries across 14 versions & 1 rubygems