diff gpp/messages/urls.py @ 441:33d0c55e57a9

Fixing the link to the private messages options tab in the PM notification email.
author Brian Neal <bgneal@gmail.com>
date Wed, 25 May 2011 02:39:08 +0000
parents d0f0800eef0c
children ddd69a8e07c7
line wrap: on
line diff
--- a/gpp/messages/urls.py	Sat May 21 20:35:02 2011 +0000
+++ b/gpp/messages/urls.py	Wed May 25 02:39:08 2011 +0000
@@ -8,8 +8,12 @@
     url(r'^(inbox|compose|outbox|trash|options)/$',
         'index',
         name='messages-index_named'),
-    url(r'^compose/([\w.@+-]{1,30})/$', 
-        'compose_to', 
+    url(r'^options/$',
+        'index',
+        kwargs={'tab': 'options'},
+        name='messages-options_tab'),
+    url(r'^compose/([\w.@+-]{1,30})/$',
+        'compose_to',
         name='messages-compose_to'),
     url(r'^inbox-tab/$',
         'inbox',