Sha256: 7d859c48ee8d0bd0edd6006a4d34b56540b2e844080c8edcbe692b2ef3b35865
Contents?: true
Size: 586 Bytes
Versions: 3
Compression:
Stored size: 586 Bytes
Contents
# frozen_string_literal: true class Comfy::Admin::BaseController < ComfortableMediaSurfer.config.admin_base_controller.to_s.constantize include Comfy::Paginate # Authentication module must have `authenticate` method include ComfortableMediaSurfer.config.admin_auth.to_s.constantize # Authorization module must have `authorize` method include ComfortableMediaSurfer.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
3 entries across 3 versions & 1 rubygems