class CmAdmin::ApplicationController

def check_cm_admin

def check_cm_admin
  redirect_to CmAdmin::Engine.mount_path + '/access-denied' unless defined?(::Current) && ::Current.cm_admin_user
end