A platform for community discussion. Free, open, simple.
FIX: Call the right method
Dan Ungureanue4f05a0d15dc
diff --git a/app/controllers/admin/backups_controller.rb b/app/controllers/admin/backups_controller.rbindex 2e4762c05f9..9d52e669b5c 100644--- a/app/controllers/admin/backups_controller.rb+++ b/app/controllers/admin/backups_controller.rb@@ -204,7 +204,7 @@ class Admin::BackupsController < Admin::AdminControllerbeginupload_url = store.generate_upload_url(filename)rescue BackupRestore::BackupStore::BackupFileExists- return render_json_error(I18n("backup.file_exists"))+ return render_json_error(I18n.t("backup.file_exists"))rescue BackupRestore::BackupStore::StorageError => ereturn render_json_error(e)end