Skip to content
Snippets Groups Projects
Commit 770f262a authored by Andrew8xx8's avatar Andrew8xx8
Browse files

Private added to attr_accessible

parent 718ec26a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment