Skip to content

Commit

Permalink
chore: move route name into the app it belongs to
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed May 28, 2024
1 parent 4103826 commit ce12a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions benefits/core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
ROUTE_ELIGIBILITY = "eligibility:index"
ROUTE_HELP = "core:help"
ROUTE_LOGGED_OUT = "core:logged_out"
ROUTE_SERVER_ERROR = "core:server-error"

TEMPLATE_INDEX = "core/index.html"
TEMPLATE_AGENCY = "core/agency-index.html"
Expand Down
3 changes: 1 addition & 2 deletions benefits/enrollment/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@

from benefits.core import session
from benefits.core.middleware import EligibleSessionRequired, VerifierSessionRequired, pageview_decorator
from benefits.core.views import ROUTE_LOGGED_OUT
from benefits.core.views import ROUTE_LOGGED_OUT, ROUTE_SERVER_ERROR

from . import analytics, forms

ROUTE_INDEX = "enrollment:index"
ROUTE_REENROLLMENT_ERROR = "enrollment:reenrollment-error"
ROUTE_RETRY = "enrollment:retry"
ROUTE_SERVER_ERROR = "core:server-error"
ROUTE_SUCCESS = "enrollment:success"
ROUTE_SYSTEM_ERROR = "enrollment:system-error"
ROUTE_TOKEN = "enrollment:token"
Expand Down

0 comments on commit ce12a50

Please sign in to comment.