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