Sha256: 7bae4872fc7872cf546bc0cc01d9d7cc6862d63918aba4be89e0803474b19b6f

Contents?: true

Size: 235 Bytes

Versions: 3

Compression:

Stored size: 235 Bytes

Contents

module AhoyEmail
  class Engine < ::Rails::Engine

    initializer "ahoy_email" do |app|
      AhoyEmail.secret_token = app.config.respond_to?(:secret_key_base) ? app.config.secret_key_base : app.config.secret_token
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ahoy_email-0.2.1 lib/ahoy_email/engine.rb
ahoy_email-0.2.0 lib/ahoy_email/engine.rb
ahoy_email-0.1.5 lib/ahoy_email/engine.rb