Sha256: f5a309c4283e128fe1c05621d04182bc5bc870a538393b282672b672b5f63306

Contents?: true

Size: 687 Bytes

Versions: 12

Compression:

Stored size: 687 Bytes

Contents

require "coffee_script"
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

12 entries across 12 versions & 1 rubygems

Version Path
brightcontent-pages-2.6.0 lib/brightcontent/pages.rb
brightcontent-pages-2.5.1 lib/brightcontent/pages.rb
brightcontent-pages-2.5.0 lib/brightcontent/pages.rb
brightcontent-pages-2.4.6 lib/brightcontent/pages.rb
brightcontent-pages-2.4.5 lib/brightcontent/pages.rb
brightcontent-pages-2.4.4 lib/brightcontent/pages.rb
brightcontent-pages-2.4.3 lib/brightcontent/pages.rb
brightcontent-pages-2.4.2 lib/brightcontent/pages.rb
brightcontent-pages-2.4.1 lib/brightcontent/pages.rb
brightcontent-pages-2.4.0 lib/brightcontent/pages.rb
brightcontent-pages-2.3.4 lib/brightcontent/pages.rb
brightcontent-pages-2.3.3 lib/brightcontent/pages.rb