Sha256: d4809a9baa8b7063547729974bb40f7bdb1db6cf1dce0f81786e706f80882599
Contents?: true
Size: 1.5 KB
Versions: 6
Compression:
Stored size: 1.5 KB
Contents
# Make SimpleForm helpers available in Ransack's search form: # https://github.com/activerecord-hackery/ransack#using-simpleform # ENV['RANSACK_FORM_BUILDER'] ||= '::SimpleForm::FormBuilder' require "coffee_script" require "bootstrap-sass" require "bootstrap-wysihtml5-rails" require "inherited_resources" require "ransack" require "jquery-rails" require "simple_form" require "will_paginate" require "will_paginate-bootstrap" require "brightcontent/rails/routes" require "brightcontent/engine" module Brightcontent autoload :ModelExtensions, 'brightcontent/model_extensions' autoload :Resource, 'brightcontent/resource' autoload :Resources, 'brightcontent/resources' autoload :RoutesParser, 'brightcontent/routes_parser' autoload :StrongParamsFix, 'brightcontent/strong_params_fix' autoload :ViewLookup, 'brightcontent/view_lookup' autoload :BaseControllerExt, 'brightcontent/base_controller_ext' mattr_accessor :locale mattr_reader :extensions @@extensions = %w{core} mattr_accessor :engine_resources @@engine_resources = %w{sessions admin_users} mattr_accessor :path @@path = "admin" mattr_accessor :application_name @@application_name = "Brightcontent" mattr_writer :user_model def self.user_model @@user_model.is_a?(String) ? @@user_model.constantize : @@user_model end @@user_model = "Brightcontent::AdminUser" mattr_accessor :main_menu_count @@main_menu_count = 6 def self.setup yield self end def self.register_extension(name) @@extensions << name end end
Version data entries
6 entries across 6 versions & 1 rubygems