Sha256: aa587b7753907696979c1a4938a84c0d53e09a09efc653be2a26b6273817b69a

Contents?: true

Size: 428 Bytes

Versions: 62

Compression:

Stored size: 428 Bytes

Contents

module Workarea
  module Admin
    class ToolbarController < Admin::ApplicationController
      include Storefront::CurrentCheckout
      layout false

      def show
        if params[:id].present?
          model = GlobalID::Locator.locate(params[:id])
          @model = wrap_in_view_model(model, view_model_options)
          @content = Content.for(model) if model.is_a?(Contentable)
        end
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.13 app/controllers/workarea/admin/toolbar_controller.rb
workarea-admin-3.4.12 app/controllers/workarea/admin/toolbar_controller.rb