government plan: remove trailing slash from links
This commit is contained in:
parent
5843c551b1
commit
375fcbb2c7
1 changed files with 2 additions and 2 deletions
|
|
@ -29,11 +29,11 @@ urlpatterns = [
|
||||||
path(
|
path(
|
||||||
pgettext_lazy("url part", "<slug:gov>/plan/<slug:plan>/"),
|
pgettext_lazy("url part", "<slug:gov>/plan/<slug:plan>/"),
|
||||||
GovPlanDetailView.as_view(),
|
GovPlanDetailView.as_view(),
|
||||||
name="plan",
|
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
pgettext_lazy("url part", "<slug:gov>/plan/<slug:plan>"),
|
pgettext_lazy("url part", "<slug:gov>/plan/<slug:plan>"),
|
||||||
GovPlanDetailView.as_view(),
|
GovPlanDetailView.as_view(),
|
||||||
|
name="plan",
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
pgettext_lazy("url part", "<slug:gov>/plan/<slug:plan>/propose-update/"),
|
pgettext_lazy("url part", "<slug:gov>/plan/<slug:plan>/propose-update/"),
|
||||||
|
|
@ -52,10 +52,10 @@ urlpatterns = [
|
||||||
path(
|
path(
|
||||||
pgettext_lazy("url part", "<slug:gov>/<slug:section>/"),
|
pgettext_lazy("url part", "<slug:gov>/<slug:section>/"),
|
||||||
GovPlanSectionDetailView.as_view(),
|
GovPlanSectionDetailView.as_view(),
|
||||||
name="section",
|
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
pgettext_lazy("url part", "<slug:gov>/<slug:section>"),
|
pgettext_lazy("url part", "<slug:gov>/<slug:section>"),
|
||||||
GovPlanSectionDetailView.as_view(),
|
GovPlanSectionDetailView.as_view(),
|
||||||
|
name="section",
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue