Sha256: efa48b32db46363ddcc92841eb8d83f629ad327f09b49c6a3d3ab76a573545c2

Contents?: true

Size: 355 Bytes

Versions: 5

Compression:

Stored size: 355 Bytes

Contents

module Mailkick
  class Engine < ::Rails::Engine
    isolate_namespace Mailkick

    initializer "mailkick" do |app|
      Mailkick.discover_services
      Mailkick.secret_token = app.config.try(:secret_key_base) || app.config.try(:secret_token)
      ActiveSupport.on_load :action_mailer do
        helper Mailkick::UrlHelper
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mailkick-0.0.5 lib/mailkick/engine.rb
mailkick-0.0.4 lib/mailkick/engine.rb
mailkick-0.0.3 lib/mailkick/engine.rb
mailkick-0.0.2 lib/mailkick/engine.rb
mailkick-0.0.1 lib/mailkick/engine.rb