Sha256: f677b2bfd578b3f4ff6a8585663568b0993401e2b59b963b1ee7aeceffaabeec

Contents?: true

Size: 967 Bytes

Versions: 9

Compression:

Stored size: 967 Bytes

Contents

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

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'
  autoload :StrongParamsFix, 'brightcontent/strong_params_fix'
  autoload :ModelExtensions, 'brightcontent/model_extensions'

  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

9 entries across 9 versions & 1 rubygems

Version Path
brightcontent-core-2.0.33 lib/brightcontent/core.rb
brightcontent-core-2.0.31 lib/brightcontent/core.rb
brightcontent-core-2.0.30 lib/brightcontent/core.rb
brightcontent-core-2.0.29 lib/brightcontent/core.rb
brightcontent-core-2.0.28 lib/brightcontent/core.rb
brightcontent-core-2.0.27 lib/brightcontent/core.rb
brightcontent-core-2.0.26 lib/brightcontent/core.rb
brightcontent-core-2.0.25 lib/brightcontent/core.rb
brightcontent-core-2.0.24 lib/brightcontent/core.rb