Sha256: 83f95d0cb1b2805be3a2fcc81022306ab2d4747f09f48d5529c444e04f695cd5

Contents?: true

Size: 315 Bytes

Versions: 6

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

module LokaliseRails
  # Global configuration, based on LokaliseManager config
  class GlobalConfig < LokaliseManager::GlobalConfig
    class << self
      def locales_path
        @locales_path || "#{LokaliseRails::Utils.root}/config/locales"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lokalise_rails-7.0.0 lib/lokalise_rails/global_config.rb
lokalise_rails-6.0.0 lib/lokalise_rails/global_config.rb
lokalise_rails-5.2.0 lib/lokalise_rails/global_config.rb
lokalise_rails-5.1.0 lib/lokalise_rails/global_config.rb
lokalise_rails-5.0.1 lib/lokalise_rails/global_config.rb
lokalise_rails-5.0.0 lib/lokalise_rails/global_config.rb