Sha256: ce46212527999eb60584b8b341d56f306084436a7112bd8308445e32f75c2a27
Contents?: true
Size: 477 Bytes
Versions: 4
Compression:
Stored size: 477 Bytes
Contents
module Mailkick class Engine < ::Rails::Engine isolate_namespace Mailkick initializer "mailkick" do |app| Mailkick.discover_services unless Mailkick.services.any? 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mailkick-0.2.1 | lib/mailkick/engine.rb |
mailkick-0.2.0 | lib/mailkick/engine.rb |
mailkick-0.1.6 | lib/mailkick/engine.rb |
mailkick-0.1.5 | lib/mailkick/engine.rb |