Sha256: b265c5e3e0871f5d8d360af907e8ffa7ad9ab7d4f34903e53de952bfaf322ba0
Contents?: true
Size: 545 Bytes
Versions: 1
Compression:
Stored size: 545 Bytes
Contents
# frozen_string_literal: true class Occams::Admin::BaseController < Occams.config.admin_base_controller.to_s.constantize include Occams::Paginate # Authentication module must have `authenticate` method include Occams.config.admin_auth.to_s.constantize # Authorization module must have `authorize` method include Occams.config.admin_authorization.to_s.constantize helper Occams::Admin::CmsHelper helper Occams::CmsHelper protect_from_forgery with: :exception before_action :authenticate layout "occams/admin/cms" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
occams-1.0.0 | app/controllers/occams/admin/base_controller.rb |