Class: Conductor::ActionMailbox::ReroutesController
- Inherits:
- 
      Rails::Conductor::BaseController
      
        - Object
- Rails::Conductor::BaseController
- Conductor::ActionMailbox::ReroutesController
 
- Defined in:
- actionmailbox/app/controllers/rails/conductor/action_mailbox/reroutes_controller.rb
Overview
Rerouting will run routing and processing on an email that has already been, or attempted to be, processed.
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
| 8 9 10 11 12 13 | # File 'actionmailbox/app/controllers/rails/conductor/action_mailbox/reroutes_controller.rb', line 8 def create inbound_email = ActionMailbox::InboundEmail.find(params[:inbound_email_id]) reroute inbound_email redirect_to main_app.rails_conductor_inbound_email_url(inbound_email) end |