diff options
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 56d5d7910b9..7470bd95c88 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -6,6 +6,9 @@ class Project < ActiveRecord::Base include Authority include Team + attr_accessible :name, :path, :description, :code, :default_branch, :issues_enabled, + :wall_enabled, :merge_requests_enabled, :wiki_enabled + # # Relations # @@ -26,11 +29,6 @@ class Project < ActiveRecord::Base attr_accessor :error_code # - # Protected attributes - # - attr_protected :private_flag, :owner_id - - # # Scopes # scope :public_only, where(private_flag: false) |