Sha256: 8053a18234723b4ab66b0be806ba9b0bb63d1a7b4f31c950c38431a28d7a3c69

Contents?: true

Size: 1.09 KB

Versions: 57

Compression:

Stored size: 1.09 KB

Contents

require 'mumukit/core'

I18n.load_translations_path File.join(__dir__, 'laboratory', 'locales', '*.yml')


module Mumuki
  module Laboratory
  end
end

require 'mumuki/domain'
require 'mumukit/login'
require 'mumukit/nuntius'
require 'mumukit/platform'

require 'kaminari'
require 'bootstrap-kaminari-views'

Mumukit::Nuntius.configure do |config|
  config.app_name = 'laboratory'
end

Mumukit::Platform.configure do |config|
  config.application = Mumukit::Platform.laboratory
  config.web_framework = Mumukit::Platform::WebFramework::Rails
end

class Mumuki::Laboratory::Engine < ::Rails::Engine
  config.i18n.available_locales = Mumukit::Platform::Locale.supported
end

module Mumukit::Platform::OrganizationMapping::Path
  class << self
    patch :organization_name do |request, domain, hyper|
      name = hyper.(request, domain)
      if %w(auth login logout).include? name
        'central'
      else
        name
      end
    end
  end
end

require_relative './laboratory/version'
require_relative './laboratory/extensions'
require_relative './laboratory/controllers'
require_relative './laboratory/engine'

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
mumuki-laboratory-7.6.2 lib/mumuki/laboratory.rb
mumuki-laboratory-7.6.1 lib/mumuki/laboratory.rb
mumuki-laboratory-7.6.0 lib/mumuki/laboratory.rb
mumuki-laboratory-7.5.2 lib/mumuki/laboratory.rb
mumuki-laboratory-7.5.1 lib/mumuki/laboratory.rb
mumuki-laboratory-7.5.0 lib/mumuki/laboratory.rb
mumuki-laboratory-7.4.2 lib/mumuki/laboratory.rb
mumuki-laboratory-7.4.1 lib/mumuki/laboratory.rb
mumuki-laboratory-7.4.0 lib/mumuki/laboratory.rb
mumuki-laboratory-7.3.1 lib/mumuki/laboratory.rb
mumuki-laboratory-7.3.0 lib/mumuki/laboratory.rb
mumuki-laboratory-7.2.0 lib/mumuki/laboratory.rb
mumuki-laboratory-7.1.0 lib/mumuki/laboratory.rb
mumuki-laboratory-7.0.12 lib/mumuki/laboratory.rb
mumuki-laboratory-7.0.11 lib/mumuki/laboratory.rb
mumuki-laboratory-7.0.10 lib/mumuki/laboratory.rb
mumuki-laboratory-7.0.9 lib/mumuki/laboratory.rb
mumuki-laboratory-7.0.8 lib/mumuki/laboratory.rb
mumuki-laboratory-7.0.7 lib/mumuki/laboratory.rb
mumuki-laboratory-7.0.6 lib/mumuki/laboratory.rb