aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/encrypted_configuration.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/encrypted_configuration.rb')
-rw-r--r--activesupport/lib/active_support/encrypted_configuration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/encrypted_configuration.rb b/activesupport/lib/active_support/encrypted_configuration.rb
index 3c6da10548..cc1d026737 100644
--- a/activesupport/lib/active_support/encrypted_configuration.rb
+++ b/activesupport/lib/active_support/encrypted_configuration.rb
@@ -39,7 +39,7 @@ module ActiveSupport
end
def deserialize(config)
- config.present? ? YAML.load(config, content_path) : {}
+ YAML.load(config).presence || {}
end
end
end