Sha256: 0464e5dd09008c97b6fa01a764a3fe3601446cb28cdad1850ec328aa3644fcfd

Contents?: true

Size: 205 Bytes

Versions: 6

Compression:

Stored size: 205 Bytes

Contents

module AhoyEmail
  class Engine < ::Rails::Engine

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

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ahoy_email-0.1.4 lib/ahoy_email/engine.rb
ahoy_email-0.1.3 lib/ahoy_email/engine.rb
ahoy_email-0.1.2 lib/ahoy_email/engine.rb
ahoy_email-0.1.1 lib/ahoy_email/engine.rb
ahoy_email-0.1.0 lib/ahoy_email/engine.rb
ahoy_email-0.0.2 lib/ahoy_email/engine.rb