government plan: remove trailing slash from links

This commit is contained in:
Jonas Heinrich 2026-03-14 11:59:28 +01:00
parent 5843c551b1
commit 375fcbb2c7

View file

@ -29,11 +29,11 @@ urlpatterns = [
path(
pgettext_lazy("url part", "<slug:gov>/plan/<slug:plan>/"),
GovPlanDetailView.as_view(),
name="plan",
),
path(
pgettext_lazy("url part", "<slug:gov>/plan/<slug:plan>"),
GovPlanDetailView.as_view(),
name="plan",
),
path(
pgettext_lazy("url part", "<slug:gov>/plan/<slug:plan>/propose-update/"),
@ -52,10 +52,10 @@ urlpatterns = [
path(
pgettext_lazy("url part", "<slug:gov>/<slug:section>/"),
GovPlanSectionDetailView.as_view(),
name="section",
),
path(
pgettext_lazy("url part", "<slug:gov>/<slug:section>"),
GovPlanSectionDetailView.as_view(),
name="section",
),
]