lib/ahoy_email/engine.rb in ahoy_email-0.1.4 vs lib/ahoy_email/engine.rb in ahoy_email-0.1.5

- old
+ new

@@ -1,9 +1,9 @@ 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) + AhoyEmail.secret_token = app.config.respond_to?(:secret_key_base) ? app.config.secret_key_base : app.config.secret_token end end end