Sha256: 59f85e86b30d762b390be2bd350bfae0cef825a7399dee0c75f9b39bf384826b
Contents?: true
Size: 256 Bytes
Versions: 13
Compression:
Stored size: 256 Bytes
Contents
if current_site.valid? && @page.valid? json.success true json.previewPath preview_page_path(@page, mounted_on: true) # in case the slug of the page changed else json.success false json.errors ({ site: current_site.errors, page: @page.errors }) end
Version data entries
13 entries across 13 versions & 1 rubygems