fix typo. change secrets.yml config.
This commit is contained in:
parent
a9ab1186f8
commit
048f20bcfc
4 changed files with 5 additions and 5 deletions
|
|
@ -22,7 +22,7 @@ class PaymentsController < ApplicationController
|
|||
if @payment.purchase && @payment.save
|
||||
update_purchased_ticket_purchases
|
||||
redirect_to conference_conference_registration_path(@conference.short_title),
|
||||
notice: 'Thanks! You have purchased your tickets successfully.'
|
||||
notice: 'Thanks! You have purchased your tickets successfully.'
|
||||
else
|
||||
@total_amount_to_pay = Ticket.total_price(@conference, current_user, paid: false)
|
||||
@unpaid_ticket_purchases = current_user.ticket_purchases.unpaid.by_conference(@conference)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue