Sha256: dcab4c4c95eefd61c059c4aba8ce3c82a7875c44611708c7249f2919609fbea0
Contents?: true
Size: 287 Bytes
Versions: 7
Compression:
Stored size: 287 Bytes
Contents
# frozen_string_literal: true module SolidusReviews module Spree module UserDecorator def self.prepended(base) base.class_eval do has_many :reviews, class_name: 'Spree::Review' end end ::Spree.user_class.prepend self end end end
Version data entries
7 entries across 7 versions & 1 rubygems