summaryrefslogtreecommitdiffstats
path: root/group_messaging/urls.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-09-28 08:18:58 -0300
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-09-28 08:18:58 -0300
commit80df52cb982b6858d3d20b04e1a32073b1a530c4 (patch)
treece41a8b5d25330e2e355188f256888965ba567f8 /group_messaging/urls.py
parent23ac9ee8e92ef6b8429b239e4229c39dc7bb4ac5 (diff)
downloadaskbot-80df52cb982b6858d3d20b04e1a32073b1a530c4.tar.gz
askbot-80df52cb982b6858d3d20b04e1a32073b1a530c4.tar.bz2
askbot-80df52cb982b6858d3d20b04e1a32073b1a530c4.zip
threads can be now deleted and restored
Diffstat (limited to 'group_messaging/urls.py')
-rw-r--r--group_messaging/urls.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/group_messaging/urls.py b/group_messaging/urls.py
index 30002bf3..19ee35bb 100644
--- a/group_messaging/urls.py
+++ b/group_messaging/urls.py
@@ -15,6 +15,11 @@ urlpatterns = patterns('',
name='thread_details'
),
url(
+ '^threads/(?P<thread_id>\d+)/delete-or-restore/$',
+ views.DeleteOrRestoreThread().as_view(),
+ name='delete_or_restore_thread'
+ ),
+ url(
'^threads/create/$',
views.NewThread().as_view(),
name='create_thread'