summaryrefslogtreecommitdiff
path: root/app/uploaders
diff options
context:
space:
mode:
authorJulian Pawlowski <julian.pawlowski@gmail.com>2013-02-26 11:30:52 +0100
committerJulian Pawlowski <julian.pawlowski@gmail.com>2013-02-26 11:30:52 +0100
commit7c7b788d0d1aa1abe63b3506c4ced555de157fd5 (patch)
treeb19e0056c97eccb910dd8c3c7df9ce76c0c2e47a /app/uploaders
parent6c2ba1352010ef4c63b2dad1e90ab8b4366b0195 (diff)
parentececfdf24075dd4e2794734a07187750b1b33e13 (diff)
Merge branches 'develop' and 'develop' of https://github.com/amooma/GS5 into develop
Diffstat (limited to 'app/uploaders')
-rw-r--r--app/uploaders/backup_file_uploader.rb6
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.