Sha256: b0a1366d6cbf260ca589e69d5a5f125244fc43c6c83e3f04e27f342e32b1c65d
Contents?: true
Size: 474 Bytes
Versions: 5
Compression:
Stored size: 474 Bytes
Contents
# Fix for ruby 1.8.7 require 'active_support/core_ext/kernel/singleton_class' 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