Sha256: 1a3c59cef70b26f8ef3cd5ba7bd3b834b83488806153b26bf4a4fb46f01df6ce

Contents?: true

Size: 588 Bytes

Versions: 12

Compression:

Stored size: 588 Bytes

Contents

# frozen_string_literal: true

class Comfy::Admin::BaseController < ComfortableMexicanSofa.config.admin_base_controller.to_s.constantize

  include Comfy::Paginate

  # Authentication module must have `authenticate` method
  include ComfortableMexicanSofa.config.admin_auth.to_s.constantize

  # Authorization module must have `authorize` method
  include ComfortableMexicanSofa.config.admin_authorization.to_s.constantize

  helper Comfy::Admin::CmsHelper
  helper Comfy::CmsHelper

  protect_from_forgery with: :exception

  before_action :authenticate

  layout "comfy/admin/cms"

end

Version data entries

12 entries across 12 versions & 6 rubygems

Version Path
comfortable_mexican_sofa-2.0.19 app/controllers/comfy/admin/base_controller.rb
PixelForce_ETS-0.0.2 app/controllers/comfy/admin/base_controller.rb
PixelForce_ETS-0.0.1 app/controllers/comfy/admin/base_controller.rb
kcyEtsTest2-0.0.4 app/controllers/comfy/admin/base_controller.rb
kcyEtsTest2-0.0.3 app/controllers/comfy/admin/base_controller.rb
kcyEtsTest2-0.0.2 app/controllers/comfy/admin/base_controller.rb
kcyEtsTest2-0.0.1 app/controllers/comfy/admin/base_controller.rb
kcyEtsTest-0.0.1 app/controllers/comfy/admin/base_controller.rb
kcyEtsTest-2.2.19 app/controllers/comfy/admin/base_controller.rb
ComfortableMexicanSofa-2.0.18 app/controllers/comfy/admin/base_controller.rb
kcy1-1.0 app/controllers/comfy/admin/base_controller.rb
comfortable_mexican_sofa-2.0.18 app/controllers/comfy/admin/base_controller.rb