aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/notifications/routing.py
diff options
context:
space:
mode:
authorRodney Ewing <ewing.rj@gmail.com>2013-08-07 12:44:43 -0700
committerRodney Ewing <ewing.rj@gmail.com>2013-08-20 08:09:29 -0700
commitd0708da727b72cfc95defe14dd6780d2cba0a0b7 (patch)
tree2d1c707e8eceb7a38712e982c8d6bb2a6f5da69a /mediagoblin/notifications/routing.py
parentc62d174437445565b55b220396e7571a323a159c (diff)
downloadmediagoblin-d0708da727b72cfc95defe14dd6780d2cba0a0b7.tar.lz
mediagoblin-d0708da727b72cfc95defe14dd6780d2cba0a0b7.tar.xz
mediagoblin-d0708da727b72cfc95defe14dd6780d2cba0a0b7.zip
add the ability to mark all notifications read.
Diffstat (limited to 'mediagoblin/notifications/routing.py')
-rw-r--r--mediagoblin/notifications/routing.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mediagoblin/notifications/routing.py b/mediagoblin/notifications/routing.py
index e57956d3..cd7bbc21 100644
--- a/mediagoblin/notifications/routing.py
+++ b/mediagoblin/notifications/routing.py
@@ -23,3 +23,7 @@ add_route('mediagoblin.notifications.subscribe_comments',
add_route('mediagoblin.notifications.silence_comments',
'/u/<string:user>/m/<string:media>/notifications/silence/',
'mediagoblin.notifications.views:silence_comments')
+
+add_route('mediagoblin.notifications.mark_all_comment_notifications_seen',
+ '/notifications/comments/mark_all_seen/',
+ 'mediagoblin.notifications.views:mark_all_comment_notifications_seen')