app/controllers/brightcontent/pages_controller.rb in brightcontent-pages-2.0.6 vs app/controllers/brightcontent/pages_controller.rb in brightcontent-pages-2.0.7
- old
+ new
@@ -1,16 +1,15 @@
require_dependency "brightcontent/application_controller"
module Brightcontent
class PagesController < BaseController
- private
def list_fields
- default_fields - %w{body depth lft rgt parent_id slug}
+ %w{name}
end
def form_fields
- default_fields - %w{slug depth lft rgt}
+ %w{name parent_id body attachments}
end
end
end