Sha256: e1979c15d5585a3c8804aec3794506d4091f34c1bdfcc367d4476dba7468a2e9
Contents?: true
Size: 445 Bytes
Versions: 1
Compression:
Stored size: 445 Bytes
Contents
module Mailkick class Engine < ::Rails::Engine isolate_namespace Mailkick initializer "mailkick" do |app| Mailkick.discover_services secrets = app.respond_to?(:secrets) ? app.secrets : app.config Mailkick.secret_token = secrets.respond_to?(:secret_key_base) ? secrets.secret_key_base : secrets.secret_token ActiveSupport.on_load :action_mailer do helper Mailkick::UrlHelper end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mailkick-0.1.0 | lib/mailkick/engine.rb |