app/models/brightcontent/page.rb in brightcontent-pages-2.0.10 vs app/models/brightcontent/page.rb in brightcontent-pages-2.0.11
- old
+ new
@@ -1,8 +1,7 @@
module Brightcontent
class Page < ActiveRecord::Base
- attr_accessible :body, :name, :parent_id
-
+ attr_accessible :body, :name, :parent_id, :hidden
acts_as_nested_set
include Brightcontent::Attachable
validates_presence_of :name
after_save :update_slug