Sha256: c921611b22ed241443b97bd24208c5cb3141b69292857a296bb1ea3cef8d0120
Contents?: true
Size: 304 Bytes
Versions: 1
Compression:
Stored size: 304 Bytes
Contents
Spree::UserRegistrationsController.class_eval do def create super session[:omniauth] = nil unless @user.new_record? end private def build_resource(*args) super if session[:omniauth] @user.apply_omniauth(session[:omniauth]) @user.valid? @user end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_social_onr-2.1.4 | app/controllers/spree/user_registrations_controller_decorator.rb |