Sha256: f021ae1d51cbe3ae8878a31702fa3a8deb14c62ffde826f12299324be78b5e9d

Contents?: true

Size: 814 Bytes

Versions: 4

Compression:

Stored size: 814 Bytes

Contents

require "inherited_resources"
require "simple_form"
require "jquery-rails"
require "will_paginate"
require "bootstrap-wysihtml5-rails"
require "has_scope"

require "brightcontent/rails/routes"
require "brightcontent/engine"

module Brightcontent

  autoload :Pagination, 'brightcontent/pagination'
  autoload :PageMethods, 'brightcontent/page_methods'
  autoload :RoutesParser, 'brightcontent/routes_parser'
  autoload :DefaultActions, 'brightcontent/default_actions'

  mattr_accessor :engine_resources
  @@engine_resources = %w{sessions admin_users}

  mattr_accessor :path
  @@path = "admin"

  mattr_accessor :application_name
  @@application_name = "Brightcontent"

  # Default way to setup Brightcontent.
  # Run rails g brightcontent:install to create initializer
  def self.setup
    yield self
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
brightcontent-core-2.0.6 lib/brightcontent/core.rb
brightcontent-core-2.0.5 lib/brightcontent/core.rb
brightcontent-core-2.0.3 lib/brightcontent/core.rb
brightcontent-core-2.0.2 lib/brightcontent/core.rb