Skip to content

LG-10530: Officially turn on new GPO routes#9184

Merged
matthinz merged 4 commits intomainfrom
matthinz/10530-rename-gpo-routes-part-2
Sep 14, 2023
Merged

LG-10530: Officially turn on new GPO routes#9184
matthinz merged 4 commits intomainfrom
matthinz/10530-rename-gpo-routes-part-2

Conversation

@matthinz
Copy link
Contributor

@matthinz matthinz commented Sep 8, 2023

Follow-on to #9136. Should not be merged until that is deployed.

Base automatically changed from matthinz/10530-nobody-knows-what-gpo-is to main September 8, 2023 23:09
@matthinz matthinz force-pushed the matthinz/10530-rename-gpo-routes-part-2 branch from 9d5a948 to 1cbed0e Compare September 11, 2023 22:41
@matthinz matthinz marked this pull request as ready for review September 13, 2023 18:04
@matthinz matthinz requested a review from a team September 13, 2023 18:04
Copy link
Contributor

@soniaconnolly soniaconnolly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one spec suggestion.

I tried out verify by mail on the branch. All urls and redirects work as expected.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this use a route helper?

Suggested change
expect(subject.fallback_back_path).to eq('/verify/by_mail/enter_code')
expect(subject.fallback_back_path).to eq(idv_verify_by_mail_enter_code_path)

Copy link
Contributor Author

@matthinz matthinz Sep 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I think it doesn't because the helpers aren't available in the presenter spec, but I think I'll just include them and make the change.

@matthinz matthinz force-pushed the matthinz/10530-rename-gpo-routes-part-2 branch from 1cbed0e to 7b71c24 Compare September 14, 2023 18:12
@matthinz matthinz merged commit 446f114 into main Sep 14, 2023
@matthinz matthinz deleted the matthinz/10530-rename-gpo-routes-part-2 branch September 14, 2023 19:06
get '/by_mail/request_letter' => 'by_mail/request_letter#index', as: :request_letter
put '/by_mail/request_letter' => 'by_mail/request_letter#create'

# Temporary routes + redirects supporting GPO route renaming
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a follow-up ticket to remove these temporary routes @matthinz ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aduth we had a separate route cleanup ticket that did not cover these. I just checked and it looks like we're still getting traffic to these paths. I'll file a ticket to follow up again in a bit.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 @matthinz Checking in again, I see these routes are still here. Did you create a follow-up ticket?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants