Ticket Purchase Index Page
List all the unpaid ticket purchases of the user for that conference and allow user to pay for them.
This commit is contained in:
parent
2cc97a92f5
commit
a327d2cbd2
5 changed files with 43 additions and 1 deletions
|
|
@ -23,6 +23,10 @@ class TicketPurchasesController < ApplicationController
|
|||
end
|
||||
end
|
||||
|
||||
def index
|
||||
@unpaid_ticket_purchases = current_user.ticket_purchases.by_conference(@conference).unpaid
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def ticket_purchase_params
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue