Sha256: 6c4a1f031bbaa6a47fc956ff5efa00c65ba692b2eb52be5d8b698df8c2390a0a
Contents?: true
Size: 566 Bytes
Versions: 4
Compression:
Stored size: 566 Bytes
Contents
# frozen_string_literal: true module Troy ::I18n.enforce_available_locales = false def self.configuration @configuration ||= Configuration.new end def self.configure 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
troy-0.0.39 | lib/troy/configuration.rb |
troy-0.0.38 | lib/troy/configuration.rb |
troy-0.0.37 | lib/troy/configuration.rb |
troy-0.0.36 | lib/troy/configuration.rb |