From: qw3rty Date: Mon, 19 Jul 2010 14:43:22 +0000 (+0000) Subject: fixed the url.py file so that there is not an extra slash on subscribe url. X-Git-Tag: live~584 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/50c423fe1e15eb4054fce3cd3015706ac4669034 fixed the url.py file so that there is not an extra slash on subscribe url. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@550 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/urls.py b/forum/urls.py index 107a01d..51cccef 100644 --- a/forum/urls.py +++ b/forum/urls.py @@ -84,7 +84,7 @@ urlpatterns += patterns('', , url(r'^%s(?P\d+)/' % _('flag/'), app.commands.flag_post, name='flag_post'), url(r'^%s(?P\d+)/' % _('delete/'), app.commands.delete_post, name='delete_post'), - url(r'^%s(?P\d+)/(?P\d+)?/$' % _('subscribe/'), app.commands.subscribe, name="subscribe"), + url(r'^%s(?P\d+)/(?P\d+)?$' % _('subscribe/'), app.commands.subscribe, name="subscribe"), url(r'^%s(?P\d+)/$' % _('subscribe/'), app.commands.subscribe, name="subscribe_simple"), url(r'^%s' % _('matching_tags/'), app.commands.matching_tags, name='matching_tags'), url(r'^%s(?P\d+)/' % _('node_markdown/'), app.commands.node_markdown, name='node_markdown'),