Sha256: ad1fe3146aa287bd8281decedf819f980bb14d3e3d34685a5fbe20da675ddf28

Contents?: true

Size: 357 Bytes

Versions: 9

Compression:

Stored size: 357 Bytes

Contents

# frozen_string_literal: true

require 'ibrain/config'

module Ibrain
  module Core
    class Engine < ::Rails::Engine
      isolate_namespace Ibrain
      config.generators.api_only = true

      initializer "ibrain.environment", before: :load_config_initializers do |app|
        app.config.ibrain = Ibrain::Config.environment
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ibrain-core-0.1.8 lib/ibrain/core/engine.rb
ibrain-core-0.1.7 lib/ibrain/core/engine.rb
ibrain-core-0.1.6 lib/ibrain/core/engine.rb
ibrain-core-0.1.5 lib/ibrain/core/engine.rb
ibrain-core-0.1.4 lib/ibrain/core/engine.rb
ibrain-core-0.1.3 lib/ibrain/core/engine.rb
ibrain-core-0.1.2 lib/ibrain/core/engine.rb
ibrain-core-0.1.1 lib/ibrain/core/engine.rb
ibrain-core-0.1.0 lib/ibrain/core/engine.rb