Sha256: 02a5ab556b123941e35fa27ed8114979491263ec2ad018f62bcf62269d2e4aa6
Contents?: true
Size: 382 Bytes
Versions: 1
Compression:
Stored size: 382 Bytes
Contents
module LetterOpener module Web class Railtie < Rails::Railtie initializer "letter_opener.add_delivery_method" do ActiveSupport.on_load :action_mailer do ActionMailer::Base.add_delivery_method :letter_opener, LetterOpener::DeliveryMethod, :location => Rails.root.join("tmp", "letter_opener") end end end if defined?(::Rails) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
letter_opener-web-0.2.0 | lib/letter_opener/web/railtie.rb |