Sha256: 2d19d0bf8d2b133d7aa4a47abffeaeb30c2a4b0799e8c6a454c0e52e8bbfd4d8

Contents?: true

Size: 267 Bytes

Versions: 2

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true
version = [Rails::VERSION::MAJOR, Rails::VERSION::MINOR]
if version == [4, 0]
  TestApp::Application.configure do
    config.secret_key_base = YAML.load_file(Rails.root.join('config/secrets.yml'))[Rails.env]['secret_key_base']
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
faml-0.8.1 spec/rails/config/initializers/secret_key_base.rb
faml-0.8.0 spec/rails/config/initializers/secret_key_base.rb