[fix] Fix user.count_registration_tickets

This commit is contained in:
Jimmy 2021-03-04 15:34:06 -08:00
parent b72dfdabf8
commit 189c2ec75f
2 changed files with 1 additions and 2 deletions

View file

@ -47,7 +47,6 @@ class TicketPurchasesController < ApplicationController
# Current user didn't have a registration ticket and is purchasing one
if count_registration_tickets_before == 0 && count_registration_tickets_after == 1
redirect_to new_conference_conference_registration_path(@conference.short_title)
else
redirect_to conference_physical_tickets_path
end