]> git.openstreetmap.org Git - osqa.git/commitdiff
fixed the url.py file so that there is not an extra slash on subscribe url.
authorqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 19 Jul 2010 14:43:22 +0000 (14:43 +0000)
committerqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 19 Jul 2010 14:43:22 +0000 (14:43 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@550 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/urls.py

index 107a01d1d5e546bca7e9d24b09c53270a3823aca..51cccefcf9586644335f7254d879c16b27855738 100644 (file)
@@ -84,7 +84,7 @@ urlpatterns += patterns('',
                         ,
                         url(r'^%s(?P<id>\d+)/' % _('flag/'), app.commands.flag_post, name='flag_post'),
                         url(r'^%s(?P<id>\d+)/' % _('delete/'), app.commands.delete_post, name='delete_post'),
-                        url(r'^%s(?P<id>\d+)/(?P<user>\d+)?/$' % _('subscribe/'), app.commands.subscribe, name="subscribe"),
+                        url(r'^%s(?P<id>\d+)/(?P<user>\d+)?$' % _('subscribe/'), app.commands.subscribe, name="subscribe"),
                         url(r'^%s(?P<id>\d+)/$' % _('subscribe/'), app.commands.subscribe, name="subscribe_simple"),
                         url(r'^%s' % _('matching_tags/'), app.commands.matching_tags, name='matching_tags'),
                         url(r'^%s(?P<id>\d+)/' % _('node_markdown/'), app.commands.node_markdown, name='node_markdown'),