web/views/schemaentities.py
branchtls-sprint
changeset 640 8e64f12be69c
parent 0 b97547f5f1fa
child 652 603c782dc092
--- a/web/views/schemaentities.py	Mon Feb 16 20:06:18 2009 +0100
+++ b/web/views/schemaentities.py	Mon Feb 16 20:51:24 2009 +0100
@@ -111,8 +111,10 @@
 
 from cubicweb.web.action import EntityAction
 
-class ViewWorkflowAction(EntityAction):
+class ViewWorkflowAction(Action):
     id = 'workflow'
+    __selectors__ = (implements('EEType'), )
+    
     category = 'mainactions'
     title = _('view workflow')
     accepts = ('EEType',)