Sha256: 7f4f8c28130def305f7f0f1b113404832d6fbf3fb0a20caba59206a21a061380
Contents?: true
Size: 381 Bytes
Versions: 3
Compression:
Stored size: 381 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
basquiat-1.3.2 | lib/basquiat/rails/railtie.rb |
basquiat-1.3.1 | lib/basquiat/rails/railtie.rb |
basquiat-1.3.0 | lib/basquiat/rails/railtie.rb |