资源类型添加对ppt文档的支持

This commit is contained in:
nwb 2014-05-15 14:32:23 +08:00
parent 22c37602db
commit f1b086ef90
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ class Attachmentstype < ActiveRecord::Base
has_many :attachments, :foreign_key => "attachtype",:primary_key => "id"
# 当前使用的文件内容分类列表
@@SuffixArr = ['pdf','zip','doc','docx','rar','txt','jpg','bmp','xls','xlsx']
@@SuffixArr = ['pdf','zip','doc','docx','ppt','pptx','rar','txt','jpg','bmp','xls','xlsx']
def suffixArr
@@SuffixArr