Sha256: 52ed88dbf27b9cec1d29db33e35a6f98164839f8f0241162f27f5079a1d986e3

Contents?: true

Size: 270 Bytes

Versions: 8

Compression:

Stored size: 270 Bytes

Contents

module LetterOpener
  class Railtie < Rails::Railtie
    initializer "letter_opener.add_delivery_method" do
      ActionMailer::Base.add_delivery_method :letter_opener, LetterOpener::DeliveryMethod, :location => Rails.root.join("tmp", "letter_opener")
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
letter_opener-1.2.0 lib/letter_opener/railtie.rb
letter_opener-1.1.2 lib/letter_opener/railtie.rb
letter_opener-1.1.1 lib/letter_opener/railtie.rb
letter_opener-1.1.0 lib/letter_opener/railtie.rb
letter_opener-1.0.0 lib/letter_opener/railtie.rb
letter_opener-0.1.0 lib/letter_opener/railtie.rb
letter_opener-0.0.2 lib/letter_opener/railtie.rb
letter_opener-0.0.1 lib/letter_opener/railtie.rb