Skip to content

Commit

Permalink
replace LAD endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourpeas committed Jan 1, 2025
1 parent 30a4183 commit 3ace4e4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rcpch_nhs_organisations/hospitals/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from .views import (
OrganisationViewSet,
IntegratedCareBoardViewSet,
LocalAuthorityDistrictViewSet,
LocalHealthBoardViewSet,
LondonBoroughViewSet,
NHSEnglandRegionViewSet,
Expand Down Expand Up @@ -44,6 +45,12 @@
viewset=LondonBoroughViewSet,
basename="london_borough",
)
# Local Authority District endpoints
router.register(
r"local_authority_districts",
viewset=LocalAuthorityDistrictViewSet,
basename="london_borough",
)
# NHS England Region endpoints
router.register(
r"nhs_england_regions",
Expand Down

0 comments on commit 3ace4e4

Please sign in to comment.