app/controllers/phcmembers/member/profiles_controller.rb in phcmembers-61.4.0 vs app/controllers/phcmembers/member/profiles_controller.rb in phcmembers-61.5.0
- old
+ new
@@ -31,9 +31,10 @@
end
# POST - Member Profile
def create
@member_profile = Phcmembers::Member::Profile.new(member_profile_params)
+ @member_profile.user_id = current_user.id
if @member_profile.save
redirect_to member_profiles_url, notice: 'Member Profile was Successfully Created.'
else
render :new
end