Sha256: c48c80be86ee19ede3dc545f4d2f8c86953ae0c8f5abca38dbe95d9030bb5b65

Contents?: true

Size: 183 Bytes

Versions: 23

Compression:

Stored size: 183 Bytes

Contents

module Localization
  module UserPreferences
    def self.included(base)
      base.class_eval do
        preference :locale, :string, :default => 'en-US'
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
spree-0.10.2 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.10.1 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.10.0 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.10.0.beta vendor/extensions/localization/lib/localization/user_preferences.rb
spree-enriquez-0.9.4 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.9.4 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.9.3 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.9.2 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.9.1 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.9.0 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.8.4 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.8.5 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.4.1 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.4.0 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.5.0 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.6.0 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.5.1 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.7.1 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.7.0 vendor/extensions/localization/lib/localization/user_preferences.rb
spree-0.8.0 vendor/extensions/localization/lib/localization/user_preferences.rb