Skip to content
Snippets Groups Projects
Commit 8a1d64616590 authored by sylvain thenault's avatar sylvain thenault
Browse files

update selectors

parent 3ff4f114dec1
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@
__docformat__ = "restructuredtext en"
from cubicweb import RegistryException
from cubicweb.sobjects.notification import NotificationView
from cubicweb.selectors import implements
from cubicweb.sobjects import notification
......@@ -11,5 +12,5 @@
class CommentAddedView(NotificationView):
class CommentAddedView(notification.NotificationView):
"""get notified from new comments"""
id = 'notif_after_add_relation_comments'
......@@ -14,6 +15,6 @@
"""get notified from new comments"""
id = 'notif_after_add_relation_comments'
accepts = ('Comment',)
__select__ = implements('Comment',)
msgid_timestamp = False
def subject(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment