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