Sha256: 72a01e0c1ca171b04860b3542a312a2b1d5ccc7930df1318ba402154737d71fb

Contents?: true

Size: 730 Bytes

Versions: 5

Compression:

Stored size: 730 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::ControllerHelpers::Theme
    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

5 entries across 5 versions & 1 rubygems

Version Path
solidus_admin-0.3.2 app/controllers/solidus_admin/base_controller.rb
solidus_admin-0.3.1 app/controllers/solidus_admin/base_controller.rb
solidus_admin-0.3.0 app/controllers/solidus_admin/base_controller.rb
solidus_admin-0.2.0 app/controllers/solidus_admin/base_controller.rb
solidus_admin-0.1.0 app/controllers/solidus_admin/base_controller.rb