app/controllers/phcmemberspro/members/mains_controller.rb in phcmemberspro-6.0.0 vs app/controllers/phcmemberspro/members/mains_controller.rb in phcmemberspro-6.0.1

- old
+ new

@@ -26,13 +26,13 @@ def edit end # Create Member Profile Action def create + @members_main = Members::Main.new(members_main_params) @members_main.user_id = current_user.id @members_main.membership_id = membership_info.id @members_main.oganization_id = membership_info.org_id - @members_main = Members::Main.new(members_main_params) if @members_main.save redirect_to members_mains_path, notice: 'Member profile has been successfully created.' else render :new end