竞赛中查看文本类附件报403问题

This commit is contained in:
z9hang 2014-10-08 10:20:55 +08:00
parent d1b20dddef
commit 48164d8b94
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
class Softapplication < ActiveRecord::Base
attr_accessible :android_min_version_available, :app_type_id, :app_type_name, :description, :name, :user_id, :contest_id, :application_developers, :deposit_project_url, :deposit_project
acts_as_attachable
acts_as_attachable :view_permission => :view_files
seems_rateable :allow_update => true, :dimensions => :quality