Commit 770f262a authored by Andrew8xx8's avatar Andrew8xx8

Private added to attr_accessible

parent 718ec26a
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
class Snippet < ActiveRecord::Base class Snippet < ActiveRecord::Base
include Linguist::BlobHelper 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" belongs_to :author, class_name: "User"
has_many :notes, as: :noteable, dependent: :destroy has_many :notes, as: :noteable, dependent: :destroy
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment