diff options
Diffstat (limited to 'askbot/urls.py')
-rw-r--r-- | askbot/urls.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/askbot/urls.py b/askbot/urls.py index fa29e64e..f4768412 100644 --- a/askbot/urls.py +++ b/askbot/urls.py @@ -159,6 +159,7 @@ urlpatterns = patterns('', views.readers.tags, name='tags' ), + #todo: collapse these three urls and use an extra json data var url(#ajax only r'^%s%s$' % ('mark-tag/', 'interesting/'), views.commands.mark_tag, @@ -172,6 +173,12 @@ urlpatterns = patterns('', name='mark_ignored_tag' ), url(#ajax only + r'^%s%s$' % ('mark-tag/', 'subscribed/'), + views.commands.mark_tag, + kwargs={'reason':'subscribed','action':'add'}, + name='mark_subscribed_tag' + ), + url(#ajax only r'^unmark-tag/', views.commands.mark_tag, kwargs={'action':'remove'}, |