diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-01-28 16:48:03 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-01-28 16:48:03 +0100 |
commit | a4bf2658ce6474c1b8dc2d4f8997d8a4c508a1a3 (patch) | |
tree | f29b7f89faff32d99387da43b6a5825d3f5f0f07 /hyperkitty/urls.py | |
parent | fd1616185405265189dc6d5ce70cc6c16456088c (diff) | |
download | hyperkitty-a4bf2658ce6474c1b8dc2d4f8997d8a4c508a1a3.tar.gz hyperkitty-a4bf2658ce6474c1b8dc2d4f8997d8a4c508a1a3.tar.xz hyperkitty-a4bf2658ce6474c1b8dc2d4f8997d8a4c508a1a3.zip |
fix the favorites system
Diffstat (limited to 'hyperkitty/urls.py')
-rw-r--r-- | hyperkitty/urls.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/hyperkitty/urls.py b/hyperkitty/urls.py index 45cfaad..10b52ba 100644 --- a/hyperkitty/urls.py +++ b/hyperkitty/urls.py @@ -52,11 +52,6 @@ urlpatterns = patterns('hyperkitty.views', url(r'^archives/(?P<mlist_fqdn>.*@.*)/$', 'list.archives', name='archives'), - # Threads - url(r'^thread/(?P<mlist_fqdn>.*@.*)/(?P<threadid>.+)/$', - 'thread.thread_index', name='thread'), - - # Lists url(r'^list/$', 'pages.index'), # Can I remove this URL? url(r'^list/(?P<mlist_fqdn>.*@.*)/$', @@ -95,11 +90,15 @@ urlpatterns = patterns('hyperkitty.views', ### THREAD LEVEL VIEWS ### # Thread view page url(r'^thread/(?P<mlist_fqdn>.*@.*)/(?P<threadid>.+)/$', - 'thread.thread_index', name='thread_index'), - + 'thread.thread_index', name='thread'), # Add Tag to a thread - url(r'^addtag/(?P<mlist_fqdn>.*@.*)\/(?P<hashid>.*)/$', + url(r'^thread/(?P<mlist_fqdn>.*@.*)\/(?P<threadid>.*)/addtag$', 'thread.add_tag', name='add_tag'), + # Thread favorites + url(r'^thread/(?P<mlist_fqdn>.*@.*)\/(?P<threadid>.*)/favorite$', + 'thread.favorite', name='favorite'), + + ### THREAD LEVEL VIEW ENDS ### |