Skip to content

Commit

Permalink
fix: add back in program record URL handling (openedx#2131)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Wesson <[email protected]>
  • Loading branch information
jsnwesson and jsnwesson authored Aug 17, 2023
1 parent cf43c24 commit b74e2eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions credentials/apps/records/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
urlpatterns = [
re_path(r"^$", views.RecordsView.as_view(), name="index"),
re_path(r"^api/", include(("credentials.apps.records.rest_api.urls", "api"), namespace="api")),
# NOTE: We need to _keep_ this to ensure Program Dashboard can send the learner directly to the Program Record
re_path(
rf"^programs/{UUID_PATTERN}/$", views.ProgramRecordView.as_view(), {"is_public": False}, name="private_programs"
),
# NOTE: We need to _keep_ this to ensure shared public program records continue to work
re_path(
rf"^programs/shared/{UUID_PATTERN}/$",
Expand Down

0 comments on commit b74e2eb

Please sign in to comment.