web/views/basecontrollers.py
branchtls-sprint
changeset 742 99115e029dca
parent 692 800592b8d39b
child 762 a6f678fe7e44
--- a/web/views/basecontrollers.py	Wed Feb 18 00:48:24 2009 +0100
+++ b/web/views/basecontrollers.py	Wed Feb 18 01:21:25 2009 +0100
@@ -465,7 +465,7 @@
 
 class SendMailController(Controller):
     id = 'sendmail'
-    __selectors__ = (match_user_groups('managers', 'users'),)
+    __select__ = match_user_groups('managers', 'users')
 
     def recipients(self):
         """returns an iterator on email's recipients as entities"""
@@ -513,7 +513,7 @@
 
 class MailBugReportController(SendMailController):
     id = 'reportbug'
-    __selectors__ = (yes,)
+    __select__ = yes()
 
     def publish(self, rset=None):
         body = self.req.form['description']