mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
add more extensions to the allowed projects attachements
This commit is contained in:
parent
ef5701dac6
commit
6bbb45c953
@ -39,7 +39,7 @@ class ProjectCaoUploader < 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(pdf ai eps cad math svg stl dxf dwg obj step iges 3dm doc docx png)
|
||||
%w(pdf ai eps cad math svg stl dxf dwg obj step iges 3dm doc docx png ino scad fcad skp sldprt sldasm slddrw slddrt tex latex ps)
|
||||
end
|
||||
|
||||
# Override the filename of the uploaded files:
|
||||
|
Loading…
x
Reference in New Issue
Block a user