Auto-detect attachment content type when blank (#3782).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3258 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2009-12-29 13:28:30 +00:00
parent b7b4e27833
commit ff7eb7b23a
6 changed files with 46 additions and 4 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ namespace :redmine do
end
def content_type
Redmine::MimeType.of(filename) || ''
''
end
def exist?