Skip to content
Permalink
Browse files

FIX: Call the right method

  • Loading branch information
udan11 committed Dec 3, 2019
1 parent 0d3d2c4 commit e4f05a0d15dcf562045443b8d9d252b86899cfd4
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/admin/backups_controller.rb
@@ -204,7 +204,7 @@ def create_upload_url
begin
upload_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 => e
return render_json_error(e)
end

0 comments on commit e4f05a0

Please sign in to comment.
You can’t perform that action at this time.