Sha256: 1ed5222ae6f9378f5f242e8311519f0035c02552be48783a086df99ebfbb45ae

Contents?: true

Size: 391 Bytes

Versions: 37

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

module Rails
  # Incinerating will destroy an email that is due and has already been processed.
  class Conductor::ActionMailbox::IncineratesController < Rails::Conductor::BaseController
    def create
      ActionMailbox::InboundEmail.find(params[:inbound_email_id]).incinerate

      redirect_to main_app.rails_conductor_inbound_emails_url
    end
  end
end

Version data entries

37 entries across 35 versions & 4 rubygems

Version Path
actionmailbox-7.0.8.6 app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
actionmailbox-7.0.8.5 app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/actionmailbox-7.0.8.4/app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/actionmailbox-7.0.5.1/app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/actionmailbox-7.0.5.1/app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/actionmailbox-7.0.5.1/app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
actionmailbox-7.0.8.4 app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
actionmailbox-7.0.8.1 app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionmailbox-7.0.3.1/app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionmailbox-7.0.2.3/app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
actionmailbox-7.0.8 app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
actionmailbox-7.0.7.2 app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
actionmailbox-7.0.7.1 app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
actionmailbox-7.0.7 app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
actionmailbox-7.0.6 app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
actionmailbox-7.0.5.1 app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionmailbox-7.0.3.1/app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionmailbox-7.0.2.3/app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
actionmailbox-7.0.5 app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb
actionmailbox-7.0.4.3 app/controllers/rails/conductor/action_mailbox/incinerates_controller.rb