Sha256: 815f7c09382fdb6417f84bdb02a664eb8010e1603b573f56f55ebbdd87e845f5

Contents?: true

Size: 636 Bytes

Versions: 8

Compression:

Stored size: 636 Bytes

Contents

require "alchemy_cms"
require "jquery/ui/rails"
require "el_finder"
require "friendly_id"
require "active_type"
require "alchemy/custom/model/engine"


module Alchemy
  module Custom
    module Model
      extend ActiveSupport::Autoload

      autoload :ElFinder
      autoload :GlobalIdSetter
      autoload :ModelDecoration
      autoload :TranslationScope
      autoload :PagesControllerDec


      mattr_accessor :base_admin_controller_class

      @@base_admin_controller_class = 'Alchemy::Admin::BaseController'


      def self.admin_controller_class
        @@base_admin_controller_class.constantize
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
alchemy-custom-model-2.1.2 lib/alchemy-custom-model.rb
alchemy-custom-model-2.1.1 lib/alchemy-custom-model.rb
alchemy-custom-model-2.1.0 lib/alchemy-custom-model.rb
alchemy-custom-model-2.0.3 lib/alchemy-custom-model.rb
alchemy-custom-model-2.0.2 lib/alchemy-custom-model.rb
alchemy-custom-model-2.0.1 lib/alchemy-custom-model.rb
alchemy-custom-model-2.0.0 lib/alchemy-custom-model.rb
alchemy-custom-model-0.1.9 lib/alchemy-custom-model.rb