Fixed trailing slash for some urls

This commit is contained in:
Felipe Martín 2015-09-08 00:40:35 +02:00
parent 8cef585489
commit c5b7faacf6
1 changed files with 3 additions and 3 deletions

View File

@ -12,13 +12,13 @@ from .views import (
urlpatterns = patterns(
'',
url(_(r'^(?P<collection>[\w\d\-]+)/$'),
url(_(r'^(?P<collection>[\w\d\-]+)$'),
CollectionView.as_view(),
name='collection'),
url(_(r'^cards/(?P<collection>[\w\d\-]+)/$'),
url(_(r'^cards/(?P<collection>[\w\d\-]+)$'),
CollectionView.as_view(),
name='cards-list'),
url(_(r'^figures/(?P<collection>[\w\d\-]+)/$'),
url(_(r'^figures/(?P<collection>[\w\d\-]+)$'),
CollectionView.as_view(),
name='figures-list'),