Skip to content

Commit 2d3500a

Browse files
authored
Add missing slash to news post URL (#2542)
News URLs should have a trailing slash. Clients will be redirected automatically.
2 parents 61aace6 + 553aa95 commit 2d3500a

File tree

1 file changed

+1
-1
lines changed
  • physionet-django/notification

1 file changed

+1
-1
lines changed

physionet-django/notification/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
urlpatterns = [
77
path('news/', views.news, name='news'),
88
path('news/<int:year>/', views.news_year, name='news_year'),
9-
path('news/post/<news_slug>', views.news_by_slug, name='news_by_slug'),
9+
path('news/post/<news_slug>/', views.news_by_slug, name='news_by_slug'),
1010
path('feed.xml', views.news_rss, name='news_rss'),
1111
]
1212

0 commit comments

Comments
 (0)