summaryrefslogtreecommitdiff
path: root/app/models/snippet.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-26 18:51:11 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-26 18:51:11 +0300
commit2acde87e0d223bbc3ecd15777b9a1048d6bc5172 (patch)
tree64f8432402547087a65ba7a1649e32e7bb96f416 /app/models/snippet.rb
parente382c8dfc7fb4bdbf57c770338805a1e17915fd1 (diff)
downloadgitlab-ce-2acde87e0d223bbc3ecd15777b9a1048d6bc5172.tar.gz
Project hook, milestone, snippet strong params
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models/snippet.rb')
-rw-r--r--app/models/snippet.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/snippet.rb b/app/models/snippet.rb
index 958697f70cd..2c38e7939bd 100644
--- a/app/models/snippet.rb
+++ b/app/models/snippet.rb
@@ -18,8 +18,6 @@
class Snippet < ActiveRecord::Base
include Linguist::BlobHelper
- #attr_accessible :title, :content, :file_name, :expires_at, :private
-
default_value_for :private, true
belongs_to :author, class_name: "User"