Sha256: 2fa5ae6a60e92817c97eac87c59c37c173f717dfcedcfbf81e2645648bec1f87
Contents?: true
Size: 362 Bytes
Versions: 16
Compression:
Stored size: 362 Bytes
Contents
module Lookbook module WithPreviewControllerConcern extend ActiveSupport::Concern def preview_controller return @preview_controller if @preview_controller controller = Lookbook::Engine.preview_controller.new controller.request = request controller.response = response @preview_controller ||= controller end end end
Version data entries
16 entries across 16 versions & 1 rubygems