templates/cli/utility/config in backup-3.0.20 vs templates/cli/utility/config in backup-3.0.21
- old
+ new
@@ -24,8 +24,8 @@
# encryption.salt = true
end
##
# Load all models from the models directory (after the above global configuration blocks)
-Dir[File.join(File.dirname(Backup::CONFIG_FILE), "models", "*.rb")].each do |model|
+Dir[File.join(File.dirname(Config.config_file), "models", "*.rb")].each do |model|
instance_eval(File.read(model))
end