From 48164d8b94410d6af2ccc5889dfdf4465ebf31ba Mon Sep 17 00:00:00 2001 From: z9hang Date: Wed, 8 Oct 2014 10:20:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=9E=E8=B5=9B=E4=B8=AD=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E7=B1=BB=E9=99=84=E4=BB=B6=E6=8A=A5403?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/softapplication.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/softapplication.rb b/app/models/softapplication.rb index 0234bc118..9e469d2ac 100644 --- a/app/models/softapplication.rb +++ b/app/models/softapplication.rb @@ -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