app/uploaders/asset_uploader.rb in locomotive_cms-0.0.3.1 vs app/uploaders/asset_uploader.rb in locomotive_cms-0.0.3.3
- old
+ new
@@ -43,11 +43,9 @@
when Regexp then value = type if (content_type =~ rule) == 0
end
end
end
- puts "content_type = #{value}"
-
model.content_type = value
end
def set_size
model.size = file.size