Sha256: d594df490dd6cca0720de1e4bf5752471c13b0d2134b2891fd0cbcad33cdde9f
Contents?: true
Size: 603 Bytes
Versions: 93
Compression:
Stored size: 603 Bytes
Contents
module Avo module InitializesAvo def init_app Avo::Current.license = Avo::Licensing::NilLicense.new Avo::Current.context = context Avo::Current.user = _current_user Avo::Current.view_context = view_context Avo.init Avo::Current.license = Licensing::LicenseManager.new(Licensing::HQ.new(request).response).license Avo::Current.locale = locale Avo.plugin_manager.init_plugins end def _current_user instance_eval(&Avo.configuration.current_user) end def context instance_eval(&Avo.configuration.context) end end end
Version data entries
93 entries across 93 versions & 1 rubygems