Sha256: 8c7228a3c6e40ce7f440ed213286e98cb0a23b8f8e7b7b284529fa43ec159154
Contents?: true
Size: 361 Bytes
Versions: 3
Compression:
Stored size: 361 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 end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
letter_opener-web-0.1.2 | lib/letter_opener/web/railtie.rb |
letter_opener-web-0.1.1 | lib/letter_opener/web/railtie.rb |
letter_opener-web-0.1.0 | lib/letter_opener/web/railtie.rb |