Sha256: e2501dc6a34e576c9ab6bf54ce76fc9323d5c996f0cdc0fcc68a79d320bbdca9

Contents?: true

Size: 663 Bytes

Versions: 10

Compression:

Stored size: 663 Bytes

Contents

require "brightcontent-core"
require "brightcontent-attachments"
require "awesome_nested_set"
require "jquery-ui-rails"
require "the_sortable_tree"

require "brightcontent/pages/routes"
require "brightcontent/pages/engine"

module Brightcontent
  register_extension 'pages'

  mattr_accessor :page_attachment_styles
  @@page_attachment_styles = {}

  mattr_writer :page_model
  def self.page_model
    @@page_model.is_a?(String) ? @@page_model.constantize : @@page_model
  end
  @@page_model = "Brightcontent::Page"

  module Pages
    autoload :Methods, 'brightcontent/pages/methods'
    autoload :PathConstraint, 'brightcontent/pages/path_constraint'
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
brightcontent-pages-2.3.2 lib/brightcontent/pages.rb
brightcontent-pages-2.3.1 lib/brightcontent/pages.rb
brightcontent-pages-2.3.0 lib/brightcontent/pages.rb
brightcontent-pages-2.2.2 lib/brightcontent/pages.rb
brightcontent-pages-2.2.1 lib/brightcontent/pages.rb
brightcontent-pages-2.2.0 lib/brightcontent/pages.rb
brightcontent-pages-2.1.5 lib/brightcontent/pages.rb
brightcontent-pages-2.1.4 lib/brightcontent/pages.rb
brightcontent-pages-2.1.3 lib/brightcontent/pages.rb
brightcontent-pages-2.1.2 lib/brightcontent/pages.rb