From eb945e4a52b4e7b3526f6d44f4725ca8efcb483c Mon Sep 17 00:00:00 2001 From: Espen Antonsen Date: Tue, 21 Sep 2010 21:57:22 +0200 Subject: [PATCH] mysql2 default. minimagick default --- app/uploaders/file_uploader.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/uploaders/file_uploader.rb b/app/uploaders/file_uploader.rb index 581d111..c544479 100644 --- a/app/uploaders/file_uploader.rb +++ b/app/uploaders/file_uploader.rb @@ -65,9 +65,9 @@ class FileUploader < 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(jpg jpeg gif png bmp tiff) + end # Override the filename of the uploaded files # def filename