Changed physical_ticket to plural
This commit is contained in:
parent
2247231d6e
commit
568d89b620
12 changed files with 10 additions and 10 deletions
|
|
@ -12,7 +12,7 @@ class TicketPurchasesController < ApplicationController
|
|||
redirect_to new_conference_payment_path,
|
||||
notice: 'Please pay here to get tickets.'
|
||||
elsif current_user.ticket_purchases.by_conference(@conference).paid.any?
|
||||
redirect_to conference_physical_ticket_index_path,
|
||||
redirect_to conference_physical_tickets_path,
|
||||
notice: 'You have free tickets for the conference.'
|
||||
else
|
||||
redirect_to conference_tickets_path(@conference.short_title),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue