Merge branch 'master' of github.com:r888888888/danbooru

This commit is contained in:
albert
2013-03-31 21:43:53 -04:00

View File

@@ -206,7 +206,7 @@ class Upload < ActiveRecord::Base
def content_type_to_file_ext(content_type)
case content_type
when "image/jpeg"
when "image/jpeg", "image/jpg"
"jpg"
when "image/gif"