Module: Brightcontent

Defined in:
lib/brightcontent/pages.rb,
app/models/brightcontent/page.rb,
lib/brightcontent/pages/engine.rb,
lib/brightcontent/pages/methods.rb,
app/models/brightcontent/page_core.rb,
app/helpers/brightcontent/pages_helper.rb,
lib/brightcontent/pages/path_constraint.rb,
app/controllers/brightcontent/pages_controller.rb,
app/controllers/brightcontent/page_base_controller.rb,
lib/generators/brightcontent/pages/install_generator.rb

Defined Under Namespace

Modules: PageCore, Pages, PagesHelper Classes: Page, PageBaseController, PagesController

Constant Summary collapse

@@page_attachment_styles =
{}
@@page_model =
"Brightcontent::Page"

Class Method Summary collapse

Class Method Details

.page_modelObject


18
19
20
# File 'lib/brightcontent/pages.rb', line 18

def self.page_model
  @@page_model.is_a?(String) ? @@page_model.constantize : @@page_model
end