New CarrierWave content whitelist format
This commit is contained in:
parent
3d8cc4b0f8
commit
31becc47eb
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ class PictureUploader < CarrierWave::Uploader::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def content_type_whitelist
|
def content_type_whitelist
|
||||||
%r{/image\//}
|
/image\//
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue