diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-26 10:48:26 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-26 10:48:26 +0100 |
commit | b144a7885610d605447c80f659643524a839db0c (patch) | |
tree | 0ba02970c4ce7a30d2859b01d9121fbf04cd5c75 /app/uploaders/backup_file_uploader.rb | |
parent | 0442cd19bc9383669b506185356227361a16e442 (diff) | |
parent | ffaa80e8d46b3b6b7597af6f157724005f48bae4 (diff) |
Merge branch 'restore' into develop
Diffstat (limited to 'app/uploaders/backup_file_uploader.rb')
-rw-r--r-- | app/uploaders/backup_file_uploader.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/uploaders/backup_file_uploader.rb b/app/uploaders/backup_file_uploader.rb index 8b126a9..0244ba5 100644 --- a/app/uploaders/backup_file_uploader.rb +++ b/app/uploaders/backup_file_uploader.rb @@ -42,9 +42,9 @@ class BackupFileUploader < CarrierWave::Uploader::Base # Add a white list of extensions which are allowed to be uploaded. # For images you might use something like this: - # def extension_white_list - # %w(jpg jpeg gif png) - # end + def extension_white_list + %w(tar.gz) + end # Override the filename of the uploaded files: # Avoid using model.id or version_name here, see uploader/store.rb for details. |