module Mks module Auth module ApplicationHelper def app_module code = Rails.configuration.app_code ApplicationModule.find_by(code: code) end end end end