Sha256: a91d3d91790c6acf2418fae2379ea06c872729ad9936b85eeb8248a741c5f552
Contents?: true
Size: 297 Bytes
Versions: 151
Compression:
Stored size: 297 Bytes
Contents
module CmAdmin class ApplicationController < ::ActionController::Base # before_action :check_cm_admin layout 'cm_admin' def check_cm_admin redirect_to CmAdmin::Engine.mount_path + '/access-denied' unless defined?(::Current) && ::Current.cm_admin_user end end end
Version data entries
151 entries across 151 versions & 1 rubygems