Sha256: d13236519e8b9870fe515e3ffa6da2e277f85e1455d577dfbc88be53cfeeec2a
Contents?: true
Size: 267 Bytes
Versions: 2
Compression:
Stored size: 267 Bytes
Contents
Spree::UserRegistrationsController.class_eval do before_filter :check_referral_and_affiliate, :only => :create def check_referral_and_affiliate params[:spree_user].merge!(:referral_code => session[:referral], :affiliate_code => session[:affiliate]) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_reffiliate-2.4.1 | app/controllers/spree/user_controller_decorator.rb |
spree_reffiliate-2.3.1 | app/controllers/spree/user_controller_decorator.rb |