Skip to content

Commit

Permalink
chore(routes): normalize names with underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Aug 16, 2024
1 parent 84252c7 commit a5f4c40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benefits/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def LOGGED_OUT(self):
@property
def SERVER_ERROR(self):
"""Generic 500 handler."""
return "core:server-error"
return "core:server_error"

@property
def AGENCY_INDEX(self):
Expand Down Expand Up @@ -59,7 +59,7 @@ def OAUTH_POST_LOGOUT(self):
@property
def OAUTH_SYSTEM_ERROR(self):
"""OAuth error not caused by the user."""
return "oauth:system-error"
return "oauth:system_error"

@property
def ELIGIBILITY_INDEX(self):
Expand Down Expand Up @@ -114,7 +114,7 @@ def ENROLLMENT_REENROLLMENT_ERROR(self):
@property
def ENROLLMENT_SYSTEM_ERROR(self):
"""Enrollment error not caused by the user."""
return "enrollment:system-error"
return "enrollment:system_error"

@property
def IN_PERSON_ELIGIBILITY(self):
Expand Down

0 comments on commit a5f4c40

Please sign in to comment.