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.12.0 lib/mumuki/laboratory.rb
mumuki-laboratory-7.11.1 lib/mumuki/laboratory.rb
mumuki-laboratory-7.11.0 lib/mumuki/laboratory.rb
mumuki-laboratory-7.10.5 lib/mumuki/laboratory.rb
mumuki-laboratory-7.10.4 lib/mumuki/laboratory.rb
mumuki-laboratory-7.10.3 lib/mumuki/laboratory.rb
mumuki-laboratory-7.10.2 lib/mumuki/laboratory.rb
mumuki-laboratory-7.10.1 lib/mumuki/laboratory.rb
mumuki-laboratory-7.10.0 lib/mumuki/laboratory.rb
mumuki-laboratory-7.9.2 lib/mumuki/laboratory.rb
mumuki-laboratory-7.9.1 lib/mumuki/laboratory.rb
mumuki-laboratory-7.9.0 lib/mumuki/laboratory.rb
mumuki-laboratory-7.7.6 lib/mumuki/laboratory.rb
mumuki-laboratory-7.7.5 lib/mumuki/laboratory.rb
mumuki-laboratory-7.7.4 lib/mumuki/laboratory.rb
mumuki-laboratory-7.8.0 lib/mumuki/laboratory.rb
mumuki-laboratory-7.7.3 lib/mumuki/laboratory.rb
mumuki-laboratory-7.7.2 lib/mumuki/laboratory.rb
mumuki-laboratory-7.7.1 lib/mumuki/laboratory.rb
mumuki-laboratory-7.7.0 lib/mumuki/laboratory.rb