[style] Remove extraneous check
This commit is contained in:
parent
130bff9506
commit
54cee7f103
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class PaymentsController < ApplicationController
|
||||||
update_purchased_ticket_purchases
|
update_purchased_ticket_purchases
|
||||||
|
|
||||||
has_registration_ticket = params[:has_registration_ticket]
|
has_registration_ticket = params[:has_registration_ticket]
|
||||||
if has_registration_ticket.present? && has_registration_ticket == 'true'
|
if has_registration_ticket == 'true'
|
||||||
redirect_to new_conference_conference_registration_path(@conference.short_title),
|
redirect_to new_conference_conference_registration_path(@conference.short_title),
|
||||||
notice: 'Thanks! Your ticket is booked successfully. Please register for the conference.'
|
notice: 'Thanks! Your ticket is booked successfully. Please register for the conference.'
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue