资源类型添加对ppt文档的支持
This commit is contained in:
parent
22c37602db
commit
f1b086ef90
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue