From 7e37b52e20032d0ebeb0082e32c16bd4cd5d34df Mon Sep 17 00:00:00 2001 From: Jimmy Date: Thu, 4 Mar 2021 11:37:16 -0800 Subject: [PATCH] temp --- app/controllers/ticket_purchases_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/ticket_purchases_controller.rb b/app/controllers/ticket_purchases_controller.rb index 32d04b4b..8362510c 100644 --- a/app/controllers/ticket_purchases_controller.rb +++ b/app/controllers/ticket_purchases_controller.rb @@ -11,6 +11,7 @@ class TicketPurchasesController < ApplicationController # Create a ticket purchase which can be paid or unpaid message = TicketPurchase.purchase(@conference, current_user, params[:tickets].try(:first)) + # The new ticket_purchase has been added to the database. current_user.ticket_purchases contains the new one. current_ticket_purchase = ? # Failed to create ticket purchase