summaryrefslogtreecommitdiffstats
path: root/hyperkitty/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/urls.py')
-rw-r--r--hyperkitty/urls.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/hyperkitty/urls.py b/hyperkitty/urls.py
index 61779bc..bc52699 100644
--- a/hyperkitty/urls.py
+++ b/hyperkitty/urls.py
@@ -58,9 +58,12 @@ urlpatterns = patterns('hyperkitty.views',
### MESSAGE LEVEL VIEWS ###
# Vote a message
- url(r'^message/(?P<mlist_fqdn>.*@.*)/(?P<hashid>.+)/$',
+ url(r'^message/(?P<mlist_fqdn>.*@.*)/(?P<hashid>\w+)/$',
'message.index', name='message_index'),
+ url(r'^message/(?P<mlist_fqdn>.*@.*)/(?P<hashid>\w+)/attachment/(?P<counter>\d+)/(?P<filename>.+)$',
+ 'message.attachment', name='message_attachment'),
+
url(r'^vote/(?P<mlist_fqdn>.*@.*)/$',
'message.vote', name='message_vote'),
### MESSAGE LEVEL VIEW ENDS ###