]> source.dussan.org Git - redmine.git/commit
Use Redmine::MimeType.of instead of regexp to check if the attachment is Textile...
authorGo MAEDA <maeda@farend.jp>
Thu, 3 Oct 2019 09:30:43 +0000 (09:30 +0000)
committerGo MAEDA <maeda@farend.jp>
Thu, 3 Oct 2019 09:30:43 +0000 (09:30 +0000)
commit77639026296c0ce9ada9be5bb2ddf263b32e7904
tree23a7616153e9272f59c080beaa7917f53b8d573a
parentcffc5d6a12add6b058fbfb79b807637f138a3061
Use Redmine::MimeType.of instead of regexp to check if the attachment is Textile (#29752).

git-svn-id: http://svn.redmine.org/redmine/trunk@18586 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/attachment.rb
lib/redmine/mime_type.rb