Sha256: b0d2b9a7cda5d205d5262e33e7dd7d7f978ca95f501d82a54ba7914a9b358ee0
Contents?: true
Size: 476 Bytes
Versions: 3
Compression:
Stored size: 476 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 end protected def sortable_collection "brightcontent_pages" end end end
Version data entries
3 entries across 3 versions & 1 rubygems