From a3a7f5484794c8988eb682bbdc9cd82732e61122 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Tue, 9 Jun 2020 03:31:55 -0700 Subject: [PATCH] Fix link_to call in tickets view --- app/views/conference_registrations/_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/conference_registrations/_form.html.haml b/app/views/conference_registrations/_form.html.haml index 5d2a3227..1283d274 100644 --- a/app/views/conference_registrations/_form.html.haml +++ b/app/views/conference_registrations/_form.html.haml @@ -29,6 +29,6 @@ - if @conference.user_registered?(current_user) = f.action :submit, button_html: { value: 'Update Registration', class: 'btn btn-primary' } - else - = link_to(conference_tickets_path(@conference), 'Get Tickets', class: 'btn btn-primary') + = link_to('Get Tickets', conference_tickets_path(@conference), class: 'btn btn-primary') .tab-pane{role: 'tabpanel', id: 'signin'} = render partial: 'devise/shared/sign_in_form_embedded'