competition
nwb 11 years ago
parent 6141cc56e6
commit 671eaa8d45

@ -179,6 +179,7 @@ class Attachment < ActiveRecord::Base
File.join(self.class.storage_path, disk_directory.to_s, disk_filename.to_s)
end
#标题
def title
title = filename.to_s
if description.present?

Loading…
Cancel
Save