Sha256: aee82fb030001a3ec44c464edb76c287ad5c7579ca4cf24b385f4f0c1aecfed3
Contents?: true
Size: 549 Bytes
Versions: 12
Compression:
Stored size: 549 Bytes
Contents
module Brightcontent class PageBaseController < BaseController include TheSortableTreeController::Rebuild helper TheSortableTree::Engine.helpers def self.inherited(subclass) subclass.class_eval { per_page 0 } super end def form_fields %w{name parent_id hidden body attachments} end def sortable_model Brightcontent.page_model end def self.resource_class Brightcontent.page_model end protected def sortable_collection "brightcontent_pages" end end end
Version data entries
12 entries across 12 versions & 1 rubygems