change "purchase" to "get" in views

This commit is contained in:
Rishabh Saxena 2016-08-12 13:21:47 +05:30
parent 6aecf2d446
commit 164101f2fe
5 changed files with 8 additions and 8 deletions

View file

@ -19,7 +19,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! Your ticket is booked 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)