aboutsummaryrefslogtreecommitdiffstats
path: root/app/uploaders/import_uploader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/uploaders/import_uploader.rb')
-rw-r--r--app/uploaders/import_uploader.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/uploaders/import_uploader.rb b/app/uploaders/import_uploader.rb
index 2740393ca..60e17ca0f 100644
--- a/app/uploaders/import_uploader.rb
+++ b/app/uploaders/import_uploader.rb
@@ -36,9 +36,9 @@ class ImportUploader < 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_whitelist
- # %w(jpg jpeg gif png)
- # end
+ def extension_whitelist
+ %w(zip)
+ end
# Override the filename of the uploaded files:
# Avoid using model.id or version_name here, see uploader/store.rb for details.