Skip to content

Commit

Permalink
chore(routes): normalize reenrollment route and path
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Aug 16, 2024
1 parent a5f4c40 commit d0a27cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benefits/enrollment/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# /enrollment
path("", views.index, name=routes.name(routes.ENROLLMENT_INDEX)),
path("token", views.token, name=routes.name(routes.ENROLLMENT_TOKEN)),
path("reenrollment-error", views.reenrollment_error, name=routes.name(routes.ENROLLMENT_REENROLLMENT_ERROR)),
path("error/reenrollment", views.reenrollment_error, name=routes.name(routes.ENROLLMENT_REENROLLMENT_ERROR)),
path("retry", views.retry, name=routes.name(routes.ENROLLMENT_RETRY)),
path("success", views.success, name=routes.name(routes.ENROLLMENT_SUCCESS)),
path("error", views.system_error, name=routes.name(routes.ENROLLMENT_SYSTEM_ERROR)),
Expand Down
2 changes: 1 addition & 1 deletion benefits/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def ENROLLMENT_RETRY(self):
@property
def ENROLLMENT_REENROLLMENT_ERROR(self):
"""User tried to enroll when they are already enrolled in an expiring discount."""
return "enrollment:reenrollment-error"
return "enrollment:reenrollment_error"

@property
def ENROLLMENT_SYSTEM_ERROR(self):
Expand Down

0 comments on commit d0a27cd

Please sign in to comment.