diff options
author | Andrew8xx8 <avk@8xx8.ru> | 2013-03-25 00:22:45 +0400 |
---|---|---|
committer | Andrew8xx8 <avk@8xx8.ru> | 2013-03-25 00:22:45 +0400 |
commit | 770f262a6a89ff5335ed452b83d1b8edb3e3ff5d (patch) | |
tree | e748dbe68d21b7cbccf7b5cd9ec4d100012cf226 /app/models/snippet.rb | |
parent | 718ec26a23e3e303e04c569447acf963b9ef307e (diff) | |
download | gitlab-ce-770f262a6a89ff5335ed452b83d1b8edb3e3ff5d.tar.gz |
Private added to attr_accessible
Diffstat (limited to 'app/models/snippet.rb')
-rw-r--r-- | app/models/snippet.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/snippet.rb b/app/models/snippet.rb index 592dfdfbb57..7018dc67ab7 100644 --- a/app/models/snippet.rb +++ b/app/models/snippet.rb @@ -17,7 +17,7 @@ class Snippet < ActiveRecord::Base include Linguist::BlobHelper - attr_accessible :title, :content, :file_name, :expires_at + attr_accessible :title, :content, :file_name, :expires_at, :private belongs_to :author, class_name: "User" has_many :notes, as: :noteable, dependent: :destroy |