Sha256: a1ae90275f4cdef9b40a08b7f7d48b702a7389faafb4397d31d843eefce6e325
Contents?: true
Size: 519 Bytes
Versions: 6
Compression:
Stored size: 519 Bytes
Contents
# frozen_string_literal: true require 'letter_opener' require 'letter_opener_web/delivery_method' module LetterOpenerWeb class Engine < ::Rails::Engine isolate_namespace LetterOpenerWeb initializer 'letter_opener_web.add_delivery_method' do ActiveSupport.on_load :action_mailer do ActionMailer::Base.add_delivery_method( :letter_opener_web, LetterOpenerWeb::DeliveryMethod, location: LetterOpenerWeb.config.letters_location ) end end end end
Version data entries
6 entries across 6 versions & 2 rubygems