Sha256: 8dc659980270120730b3adbfd2dcc432ce620a50af44ec092114359b811a1556
Contents?: true
Size: 476 Bytes
Versions: 4
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 protected def sortable_model Brightcontent::Page end def sortable_collection "brightcontent_pages" end end end
Version data entries
4 entries across 4 versions & 1 rubygems