remove the word free
This commit is contained in:
parent
7127cede76
commit
2daacea6ae
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ class TicketPurchasesController < ApplicationController
|
||||||
notice: 'Please pay here to get tickets.'
|
notice: 'Please pay here to get tickets.'
|
||||||
elsif current_user.ticket_purchases.by_conference(@conference).paid.any?
|
elsif current_user.ticket_purchases.by_conference(@conference).paid.any?
|
||||||
redirect_to conference_physical_tickets_path,
|
redirect_to conference_physical_tickets_path,
|
||||||
notice: 'You have free tickets for the conference.'
|
notice: 'You already have tickets for the conference.'
|
||||||
elsif @conference.tickets.for_registration.any?
|
elsif @conference.tickets.for_registration.any?
|
||||||
redirect_to conference_tickets_path(@conference.short_title),
|
redirect_to conference_tickets_path(@conference.short_title),
|
||||||
error: 'Please get at least one ticket to continue.'
|
error: 'Please get at least one ticket to continue.'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue