Sha256: 12c64f85a5ae6f6f8785419c627023713bc02d00a8922b51bf71497ef603aa42
Contents?: true
Size: 472 Bytes
Versions: 12
Compression:
Stored size: 472 Bytes
Contents
# Ensure that Spree.user_class includes the UserMethods concern # Previously these methods were injected automatically onto the class, which we # are still doing for compatability, but with a warning. Spree::Core::Engine.config.to_prepare do if Spree.user_class && !Spree.user_class.included_modules.include?(Spree::UserMethods) Spree::Deprecation.warn "#{Spree.user_class} must include Spree::UserMethods" Spree.user_class.include Spree::UserMethods end end
Version data entries
12 entries across 12 versions & 1 rubygems