From b445e4d21affc3982ac7c3fd79abae03929ef51f Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Wed, 19 Jul 2023 09:56:04 +0200 Subject: [PATCH] Redirect allow external hosts --- app/controllers/proposals_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/proposals_controller.rb b/app/controllers/proposals_controller.rb index c8bb8ff04..48d62c817 100644 --- a/app/controllers/proposals_controller.rb +++ b/app/controllers/proposals_controller.rb @@ -120,7 +120,7 @@ def join if can_view_event current_user.mark_attendance_for_conference(@conference) current_user.mark_attendance_for_event(@event) - redirect_to @event.url + redirect_to @event.url, allow_other_host: true else redirect_to conference_program_proposal_path(@conference, @event), error: 'You cannot join this event yet. Please try again closer to the start of the event.'