diff gpp/forums/urls.py @ 529:7388cdf61b25

For #241, add a URL to view the last post in a forum topic.
author Brian Neal <bgneal@gmail.com>
date Thu, 22 Dec 2011 02:10:27 +0000
parents c374bfd5594f
children ddd69a8e07c7
line wrap: on
line diff
--- a/gpp/forums/urls.py	Wed Dec 21 01:25:10 2011 +0000
+++ b/gpp/forums/urls.py	Thu Dec 22 02:10:27 2011 +0000
@@ -9,6 +9,7 @@
     url(r'^new-topic-success/(?P<tid>\d+)$', 'new_topic_thanks', name='forums-new_topic_thanks'),
     url(r'^topic/(?P<id>\d+)/$', 'topic_index', name='forums-topic_index'),
     url(r'^topic/(?P<id>\d+)/unread/$', 'topic_unread', name='forums-topic_unread'),
+    url(r'^topic/(?P<id>\d+)/latest/$', 'topic_latest', name='forums-topic_latest'),
     url(r'^topic/active/(\d+)/$', 'active_topics', name='forums-active_topics'),
     url(r'^delete-post/$', 'delete_post', name='forums-delete_post'),
     url(r'^edit/(?P<id>\d+)/$', 'edit_post', name='forums-edit_post'),