Class: Conductor::ActionMailbox::IncineratesController
- Inherits:
-
Rails::Conductor::BaseController
- Object
- Rails::Conductor::BaseController
- Conductor::ActionMailbox::IncineratesController
- Defined in:
- 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
#create ⇒ Object
8 9 10 11 12 |
# File 'app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb', line 8 def create ActionMailbox::InboundEmail.find(params[:inbound_email_id]).incinerate redirect_to main_app.rails_conductor_inbound_emails_url end |