Sha256: 6b453b452aef23e7f9adaab9b37a658e2c49e6d5f64b48dff14918ab61e3da6a

Contents?: true

Size: 392 Bytes

Versions: 5

Compression:

Stored size: 392 Bytes

Contents

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
      ActionMailer::Base.add_delivery_method :letter_opener_web, LetterOpenerWeb::DeliveryMethod, :location => Rails.root.join("tmp", "letter_opener")
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
letter_opener_web-1.0.1 lib/letter_opener_web/engine.rb
letter_opener_web-1.0.0 lib/letter_opener_web/engine.rb
letter_opener_web-1.0.0.rc3 lib/letter_opener_web/engine.rb
letter_opener_web-1.0.0.rc2 lib/letter_opener_web/engine.rb
letter_opener_web-1.0.0.rc1 lib/letter_opener_web/engine.rb