Sha256: 8f70903a66ff4e433fc19d9cb0ba99cb269ece27dda2f77928b23f4e0d7f3d6e
Contents?: true
Size: 1.51 KB
Versions: 1
Compression:
Stored size: 1.51 KB
Contents
# encoding: utf-8 require 'pathname' require 'sunrise/core_ext' require 'sunrise/version' module Sunrise autoload :Utils, 'sunrise/utils' autoload :Config, 'sunrise/config' autoload :AbstractModel, 'sunrise/abstract_model' module Models autoload :Asset, 'sunrise/models/asset' autoload :Structure, 'sunrise/models/structure' autoload :StructureType, 'sunrise/models/structure_type' autoload :PositionType, 'sunrise/models/position_type' autoload :Role, 'sunrise/models/role' autoload :RoleType, 'sunrise/models/role_type' autoload :Header, 'sunrise/models/header' autoload :User, 'sunrise/models/user' autoload :Ability, 'sunrise/models/ability' end module CarrierWave autoload :Glue, 'sunrise/carrierwave/glue' autoload :BaseUploader, 'sunrise/carrierwave/base_uploader' autoload :FileSizeValidator, 'sunrise/carrierwave/file_size_validator' end module NestedSet autoload :Descendants, 'sunrise/nested_set/descendants' autoload :Depth, 'sunrise/nested_set/depth' end module Views autoload :FormBuilder, 'sunrise/views/form_builder' autoload :SearchWrapper, 'sunrise/views/search_wrapper' autoload :Helper, 'sunrise/views/helper' end module Hooks autoload :Kaminari, 'sunrise/hooks/kaminari' autoload :FriendlyId, 'sunrise/hooks/friendly_id' end def self.root_path @root_path ||= Pathname.new( File.dirname(File.expand_path('../', __FILE__)) ) end def self.setup yield Config end end require 'sunrise/engine'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sunrise-cms-0.3.0.rc | lib/sunrise.rb |