Sha256: ae792cc9d76f9cdc1387823f33dbb6d70c1bdac333300b28acf250723f434c07
Contents?: true
Size: 544 Bytes
Versions: 10
Compression:
Stored size: 544 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 resource_class Brightcontent.page_model end protected def sortable_collection "brightcontent_pages" end end end
Version data entries
10 entries across 10 versions & 1 rubygems