Sha256: 404ee4ccc2d0e90dc1bf6ce6d2d6faa704f459ba295ae2dff62a100226e52455

Contents?: true

Size: 405 Bytes

Versions: 9

Compression:

Stored size: 405 Bytes

Contents

module Lookbook
  class InspectorController < Lookbook::ApplicationController
    include TargetableConcern
    include WithPanelsConcern
    include WithPreviewControllerConcern

    def self.controller_path
      "lookbook/inspector"
    end

    def show
      raise_not_found("Preview not found") unless @target

      @main_panels = main_panels
      @drawer_panels = drawer_panels
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
lookbook-2.3.4 app/controllers/lookbook/inspector_controller.rb
lookbook-2.3.3 app/controllers/lookbook/inspector_controller.rb
lookbook-2.3.2 app/controllers/lookbook/inspector_controller.rb
lookbook-2.3.0 app/controllers/lookbook/inspector_controller.rb
lookbook-2.2.2 app/controllers/lookbook/inspector_controller.rb
lookbook-2.2.1 app/controllers/lookbook/inspector_controller.rb
lookbook-2.2.0 app/controllers/lookbook/inspector_controller.rb
lookbook-2.1.1 app/controllers/lookbook/inspector_controller.rb
lookbook-2.1.0 app/controllers/lookbook/inspector_controller.rb