Sha256: 573e7f6b89460db4257dbef881acfaeeeafe1371d3e0bfee6366523588990c1a

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 Bytes

Contents

json.type 'asset_files'
json.id asset_file.id

json.data do
  json.extract! asset_file, :file_meta

  json.styles do
    json.array! asset_file.file.styles.keys do |style|
      json.set! style do
        json.url asset_file.file.url(style)
        json.path asset_file.file.path(style)
        json.width asset_file.file.width(style)
        json.height asset_file.file.height(style)
      end
    end
  end
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemgento-2.8.0 app/views/gemgento/shared/_asset_file.json.jbuilder