Sha256: 2bdd847194b01a9b58ee201e5913ccfe582021bef448fefe2df7ce898bc32874

Contents?: true

Size: 679 Bytes

Versions: 2

Compression:

Stored size: 679 Bytes

Contents

# frozen_string_literal: true

require 'geared_pagination'

module SolidusAdmin
  class BaseController < ApplicationController
    include ActiveStorage::SetCurrent
    include Spree::Core::ControllerHelpers::Store
    include GearedPagination::Controller

    include SolidusAdmin::ControllerHelpers::Authentication
    include SolidusAdmin::ControllerHelpers::Authorization
    include SolidusAdmin::ControllerHelpers::Locale
    include SolidusAdmin::ComponentsHelper
    include SolidusAdmin::AuthenticationAdapters::Backend if defined?(Spree::Backend)

    layout 'solidus_admin/application'
    helper 'solidus_admin/components'
    helper 'solidus_admin/layout'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_admin-0.0.2 app/controllers/solidus_admin/base_controller.rb
solidus_admin-0.0.1 app/controllers/solidus_admin/base_controller.rb