Sha256: 4668ba43865a58117acc5a6e3b950d9ee8ba6ff045908f574412ce6ad20dc65b

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 KB

Contents

# encoding: utf-8
require 'freeberry/core_ext'

module Freeberry
  autoload :SystemSettings,       'freeberry/system_settings'
  autoload :MysqlUtils,           'freeberry/mysql_utils'
  autoload :Settingslogic,        'freeberry/settingslogic'
  autoload :HeaderUtils,          'freeberry/header_utils'
  autoload :ModelFilter,          'freeberry/model_filter'
  autoload :Transliteration,      'freeberry/transliteration'
  autoload :AccessibleAttributes, 'freeberry/accessible_attributes'
  autoload :Utils,                'freeberry/utils'
  
  # Controllers
  module Controllers
    autoload :AuthorizedSystem, 'freeberry/controllers/authorized_system'
    autoload :HeadOptions,      'freeberry/controllers/head_options'
    autoload :HelperUtils,      'freeberry/controllers/helper_utils'
  end
  
  # Models
  module Models
    autoload :RoleType,      'freeberry/models/role_type'
    autoload :StructureType, 'freeberry/models/structure_type'
    autoload :PositionType,  'freeberry/models/position_type'
    autoload :User,          'freeberry/models/user'
    autoload :Role,          'freeberry/models/role'
    autoload :Structure,     'freeberry/models/structure'
    autoload :Page,          'freeberry/models/page'
    autoload :Post,          'freeberry/models/post'
    autoload :Comment,       'freeberry/models/comment'
    autoload :Asset,         'freeberry/models/asset'
    autoload :Header,        'freeberry/models/header'
  end
  
  IMAGE_TYPES = ['image/jpeg', 'image/png', 'image/gif', 'image/jpg', 'image/pjpeg', 'image/tiff', 'image/x-png']
end

require 'freeberry/railtie'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
freeberry-0.2.7 lib/freeberry.rb