Sha256: b620343b6ffc4469f16e9bc2b3dc0b2794572c8a1c700388cd8940728b36585b
Contents?: true
Size: 295 Bytes
Versions: 1
Compression:
Stored size: 295 Bytes
Contents
module AhoyEmail class Engine < ::Rails::Engine initializer "ahoy_email" do |app| secrets = app.respond_to?(:secrets) ? app.secrets : app.config AhoyEmail.secret_token = secrets.respond_to?(:secret_key_base) ? secrets.secret_key_base : secrets.secret_token end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ahoy_email-0.2.2 | lib/ahoy_email/engine.rb |