Skip to content

Commit

Permalink
Merge pull request #75 from rcpch:eatyourpeas/issue74
Browse files Browse the repository at this point in the history
local-authority-districts
  • Loading branch information
eatyourpeas authored Jan 1, 2025
2 parents 30a4183 + 3ace4e4 commit 6f89387
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 6f89387

Please sign in to comment.