Sha256: c0572624ed2cdce9a299d36fa65c34bf6c82befe61d33d5828f33c8b97d48043
Contents?: true
Size: 308 Bytes
Versions: 39
Compression:
Stored size: 308 Bytes
Contents
# frozen_string_literal: true module Thredded module RenderPreview protected def render_preview if request.xhr? render layout: false else @preview_content = render_to_string(layout: false) render template: 'thredded/shared/preview' end end end end
Version data entries
39 entries across 39 versions & 2 rubygems