Sha256: 5e252e54231e5aa982068fb5558970e388ad3c62cc207da01e1f6fc5fce59afe

Contents?: true

Size: 316 Bytes

Versions: 2

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

module Anyway # :nodoc:
  class Railtie < ::Rails::Railtie # :nodoc:
    # Add settings to Rails config
    config.anyway_config = Anyway::Settings

    # Allow autoloading of app/configs in configuration files
    ActiveSupport::Dependencies.autoload_paths << "app/configs"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
anyway_config-2.0.0.pre2 lib/anyway/railtie.rb
anyway_config-2.0.0.pre lib/anyway/railtie.rb