]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/urls.py
Don't check minimum length of question, when body turned of, even on django 1.1.1.
[osqa.git] / forum / urls.py
index 107a01d1d5e546bca7e9d24b09c53270a3823aca..c5a8a1610c7f06992a863f04aa4f88ab7242a556 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'),
@@ -116,7 +116,7 @@ urlpatterns += patterns('',
 
 
                         url(r'^%s$' % _('users/'), app.users.users, name='users'),
-                        url(r'^%s$' % _('online_users/'), app.users.online_users, name='online_users'),
+                        url(r'^%s$' % _('online_users/'), app.users.online_users, name='online_users'),
 
 
                         url(r'^%s(?P<id>\d+)/%s$' % (_('users/'), _('edit/')), app.users.edit_user, name='edit_user'),