lib/ahoy_email/engine.rb in ahoy_email-0.0.1 vs lib/ahoy_email/engine.rb in ahoy_email-0.0.2

- old
+ new

@@ -1,5 +1,9 @@ module AhoyEmail class Engine < ::Rails::Engine - isolate_namespace AhoyEmail + + initializer "ahoy_email" do |app| + AhoyEmail.secret_token = app.config.try(:secret_key_base) || app.config.try(:secret_token) + end + end end