Sha256: 799cabc599cbe739f3bd67d916af86797962957f32aef3549eee07e30fceb21f
Contents?: true
Size: 382 Bytes
Versions: 8
Compression:
Stored size: 382 Bytes
Contents
# frozen_string_literal: true module Basquiat class Railtie < ::Rails::Railtie initializer 'load_basquiat_configuration' do ENV['BASQUIAT_ENV'] = Rails.env Basquiat.configure do |config| config.config_file = Rails.root + 'config/basquiat.yml' end end config.after_initialize do Basquiat.configuration.reload_classes end end end
Version data entries
8 entries across 8 versions & 1 rubygems