Sha256: 6ed8eb971b3d0689c946eb8edc385b9a5f9e98ff9597bdea0dd4642254fe17a6

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

module Brightcontent
  class PageBaseController < BaseController
    include TheSortableTreeController::Rebuild
    helper TheSortableTree::Engine.helpers

    per_page 99999


    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

1 entries across 1 versions & 1 rubygems

Version Path
brightcontent-pages-2.0.27 app/controllers/brightcontent/page_base_controller.rb