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