Skip to content

Commit

Permalink
Redirect allow external hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Jul 19, 2023
1 parent 2d65f78 commit b445e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/proposals_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
Expand Down

0 comments on commit b445e4d

Please sign in to comment.