From a4bf2658ce6474c1b8dc2d4f8997d8a4c508a1a3 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Mon, 28 Jan 2013 16:48:03 +0100 Subject: fix the favorites system --- hyperkitty/urls.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'hyperkitty/urls.py') 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.*@.*)/$', 'list.archives', name='archives'), - # Threads - url(r'^thread/(?P.*@.*)/(?P.+)/$', - 'thread.thread_index', name='thread'), - - # Lists url(r'^list/$', 'pages.index'), # Can I remove this URL? url(r'^list/(?P.*@.*)/$', @@ -95,11 +90,15 @@ urlpatterns = patterns('hyperkitty.views', ### THREAD LEVEL VIEWS ### # Thread view page url(r'^thread/(?P.*@.*)/(?P.+)/$', - 'thread.thread_index', name='thread_index'), - + 'thread.thread_index', name='thread'), # Add Tag to a thread - url(r'^addtag/(?P.*@.*)\/(?P.*)/$', + url(r'^thread/(?P.*@.*)\/(?P.*)/addtag$', 'thread.add_tag', name='add_tag'), + # Thread favorites + url(r'^thread/(?P.*@.*)\/(?P.*)/favorite$', + 'thread.favorite', name='favorite'), + + ### THREAD LEVEL VIEW ENDS ### -- cgit