lib/mailkick/engine.rb in mailkick-0.0.5 vs lib/mailkick/engine.rb in mailkick-0.0.6

- old
+ new

@@ -2,10 +2,10 @@ class Engine < ::Rails::Engine isolate_namespace Mailkick initializer "mailkick" do |app| Mailkick.discover_services - Mailkick.secret_token = app.config.try(:secret_key_base) || app.config.try(:secret_token) + Mailkick.secret_token = app.config.respond_to?(:secret_key_base) ? app.config.secret_key_base : app.config.secret_token ActiveSupport.on_load :action_mailer do helper Mailkick::UrlHelper end end end