mysql2 default. minimagick default
This commit is contained in:
parent
55e08ac480
commit
eb945e4a52
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue