Sha256: 4b483ac1b8921a63a4e31f6ffeecd4d2b25543d96fa63f787c549de51b4086bc
Contents?: true
Size: 565 Bytes
Versions: 16
Compression:
Stored size: 565 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 end def _current_user instance_eval(&Avo.configuration.current_user) end def context instance_eval(&Avo.configuration.context) end end end
Version data entries
16 entries across 16 versions & 1 rubygems