Sha256: ebfa827a545e9f06db0dcd5f291262a4de439cd18d7fd35735acfae787e68a9c

Contents?: true

Size: 589 Bytes

Versions: 5

Compression:

Stored size: 589 Bytes

Contents

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


module Alchemy
  module Custom
    module Model
      extend ActiveSupport::Autoload

      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

5 entries across 5 versions & 1 rubygems

Version Path
alchemy-custom-model-0.1.4 lib/alchemy-custom-model.rb
alchemy-custom-model-0.1.3 lib/alchemy-custom-model.rb
alchemy-custom-model-0.1.2 lib/alchemy-custom-model.rb
alchemy-custom-model-0.1.1 lib/alchemy-custom-model.rb
alchemy-custom-model-0.1.0 lib/alchemy-custom-model.rb