lib/mailkick/engine.rb in mailkick-1.3.0 vs lib/mailkick/engine.rb in mailkick-1.3.1

- old
+ new

@@ -11,10 +11,10 @@ # TODO remove in 2.0 creds = if app.respond_to?(:credentials) && app.credentials.secret_key_base app.credentials - elsif app.respond_to?(:secrets) + elsif app.respond_to?(:secrets) && (Rails::VERSION::STRING.to_f < 7.1 || app.config.paths["config/secrets"].existent.any?) app.secrets else app.config end