Sha256: d10eba57e8975b6cc015f38775ff8b9d53506fb3bbc9c99965ce890ad5de95e4
Contents?: true
Size: 474 Bytes
Versions: 10
Compression:
Stored size: 474 Bytes
Contents
json.(file, :id, :state, :rights, :usage_id) json.retryable(file.retryable?) json.file_name(file.attachment.original_filename) if file.url.present? json.url(file.url) end if file_type.editor_partial.present? json.partial!(:object => file, :partial => file_type.editor_partial) end if file.respond_to?(:thumbnail_url) json.thumbnail_url(asset_path(file.thumbnail_url(:thumbnail))) json.link_thumbnail_url(asset_path(file.thumbnail_url(:link_thumbnail_large))) end
Version data entries
10 entries across 10 versions & 1 rubygems