Sha256: ddf04bc665d1b4fb6689f4c570c16aaa9c66f70f4ad1605783f9044b6e274058

Contents?: true

Size: 481 Bytes

Versions: 5

Compression:

Stored size: 481 Bytes

Contents

module SpreeMobility
  class Configuration < Spree::Preferences::Configuration
    # These configs intend to, respectively:
    #
    #   Say which mobility inputs are displayed on backend
    #   Set locales that should be available for end users
    #
    # e.g. If available_locales are [:en, :es] admin can translate model records
    # to spanish as well. Once it's done :es can be added to supported_locales
    preference :supported_locales, :array, default: [:en]
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_mobility-1.4.0 lib/spree_mobility/configuration.rb
spree_mobility-1.3.0 lib/spree_mobility/configuration.rb
spree_mobility-1.2.0 lib/spree_mobility/configuration.rb
spree_mobility-1.1.0 lib/spree_mobility/configuration.rb
spree_mobility-1.0.0 lib/spree_mobility/configuration.rb