Sha256: 4e4e340bafbf5139a556cd523047d9b7950383b136917d77d7b3e083919cd744
Contents?: true
Size: 534 Bytes
Versions: 10
Compression:
Stored size: 534 Bytes
Contents
class Comfy::Admin::BaseController < ComfortableMexicanSofa.config.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 before_action :authenticate layout "comfy/admin/cms" end
Version data entries
10 entries across 10 versions & 1 rubygems