Sha256: 686f242b8a21f4827a587cb52d6a9f35f244c53c799c79c2be026b53f4630c6d

Contents?: true

Size: 346 Bytes

Versions: 12

Compression:

Stored size: 346 Bytes

Contents

Pageflow.config.file_types.each do |file_type|
  json.set!(file_type.collection_name, @entry.files(file_type.model)) do |file|
    json.cache!(file) do
      json.partial!(object: file,
                    partial: 'pageflow/editor/files/file',
                    locals: {file_type: file_type},
                    as: :file)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pageflow-0.11.4 app/views/pageflow/entries/show.json.jbuilder
pageflow-0.11.3 app/views/pageflow/entries/show.json.jbuilder
pageflow-0.11.2 app/views/pageflow/entries/show.json.jbuilder
pageflow-0.11.1 app/views/pageflow/entries/show.json.jbuilder
pageflow-0.11.0 app/views/pageflow/entries/show.json.jbuilder
pageflow-0.10.0 app/views/pageflow/entries/show.json.jbuilder
pageflow-0.9.2 app/views/pageflow/entries/show.json.jbuilder
pageflow-0.9.1 app/views/pageflow/entries/show.json.jbuilder
pageflow-0.9.0 app/views/pageflow/entries/show.json.jbuilder
pageflow-0.8.2 app/views/pageflow/entries/show.json.jbuilder
pageflow-0.8.1 app/views/pageflow/entries/show.json.jbuilder
pageflow-0.8.0 app/views/pageflow/entries/show.json.jbuilder