Class: Conductor::ActionMailbox::IncineratesController

Inherits:
Rails::Conductor::BaseController
  • Object
show all
Defined in:
actionmailbox/app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb

Overview

Incinerating will destroy an email that is due and has already been processed.

Instance Method Summary collapse

Instance Method Details

#createObject


6
7
8
9
10
# File 'actionmailbox/app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb', line 6

def create
  ActionMailbox::InboundEmail.find(params[:inbound_email_id]).incinerate

  redirect_to main_app.rails_conductor_inbound_emails_url
end