Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-26 19:51:11 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-26 19:51:11 +0400
commit2acde87e0d223bbc3ecd15777b9a1048d6bc5172 (patch)
tree64f8432402547087a65ba7a1649e32e7bb96f416 /app/models/snippet.rb
parente382c8dfc7fb4bdbf57c770338805a1e17915fd1 (diff)
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"