from go.vumitools.conversation.definition import (
    ConversationDefinitionBase, ConversationAction)

from go.apps.dialogue.dialogue_api import DialogueActionDispatcher
from go.apps.dialogue.utils import configured_endpoints
from go.apps.jsbox.definition import SendJsboxAction


class SendDialogueAction(SendJsboxAction):
    action_display_name = 'Send Dialogue'


class DownloadUserDataAction(ConversationAction):
    action_name = 'download_user_data'
    action_display_name = 'Download User Data'
    redirect_to = 'user_data'


class ConversationDefinition(ConversationDefinitionBase):
    conversation_type = 'dialogue'

    actions = (
        SendDialogueAction,
        DownloadUserDataAction,
    )

    api_dispatcher_cls = DialogueActionDispatcher

    def configured_endpoints(self, config):
        return configured_endpoints(config)

@@ -42,22 +42,16 @@
  import 
-(%0A    
 Conversa
@@ -72,29 +72,8 @@
 Base
-, ConversationAction)
 %0A%0Afr
@@ -339,176 +339,8 @@
 '%0A%0A%0A
-class DownloadUserDataAction(ConversationAction):%0A    action_name = 'download_user_data'%0A    action_display_name = 'Download User Data'%0A    redirect_to = 'user_data'%0A%0A%0A
 clas
@@ -445,16 +445,16 @@
 ons = (%0A
+
         
@@ -477,40 +477,8 @@
 on,%0A
-        DownloadUserDataAction,%0A
     

Remove download_user_data action.