Sha256: 92fb7ef8a85b1b5515be704143b339cc9044cef3bd0a2005f6b3052ecc9a8245
Contents?: true
Size: 545 Bytes
Versions: 8
Compression:
Stored size: 545 Bytes
Contents
module Troy ::I18n.enforce_available_locales = false def self.configuration @configuration ||= Configuration.new end def self.configure(&block) yield configuration end class Configuration < OpenStruct def assets @assets ||= Configuration.new({ compress_html: true, compress_css: true, compress_js: true, precompile: [] }) end def i18n @i18n ||= Configuration.new.tap do |config| config.load_path = ["config/locales/*.yml"] end end end end
Version data entries
8 entries across 8 versions & 1 rubygems