Sha256: 3e3b9afb9e18ec5a50965d2fea95f46a22bce4310a1fc5a2ea17dfc2793646ee

Contents?: true

Size: 336 Bytes

Versions: 25

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true

json.key_format! camelize: :lower
json.deep_format_keys!

json.sections site.sections || []

json.style services.fetch_style.call(site: site, theme: maglev_theme).as_json

json.locales site.locales

json.call(site, *site.api_attributes)
json.home_page_id home_page_id

json.lock_version site.lock_version

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
maglevcms-1.8.0 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.7.3 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.7.2 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.7.1 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.7.0 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.6.1 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.6.0 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.5.1 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.4.0 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.3.0 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.2.2 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.2.1 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.2.0 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.1.7 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.1.6 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.1.5 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.1.4 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.1.3 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.1.2 app/views/maglev/api/sites/_show.json.jbuilder
maglevcms-1.1.1 app/views/maglev/api/sites/_show.json.jbuilder