mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
remove duplicate in mime types
This commit is contained in:
parent
254612dbdc
commit
d99d090814
@ -3,7 +3,7 @@ class ProjectCao < Asset
|
||||
|
||||
validates :attachment, file_size: { maximum: 20.megabytes.to_i }
|
||||
validates :attachment, :file_mime_type => {
|
||||
:content_type => %w(application/pdf application/postscript application/illustrator application/postscript
|
||||
:content_type => %w(application/pdf application/postscript application/illustrator
|
||||
image/x-eps image/svg+xml application/sla application/dxf application/acad application/dwg
|
||||
application/octet-stream application/step application/iges model/iges x-world/x-3dmf
|
||||
application/ application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
||||
|
Loading…
x
Reference in New Issue
Block a user