Sha256: 276896f6ed9f9adf490c0b35f6f61bb4d21e749c919cb2392db26701e00c1cd8

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

require "mdd/version"

module Mdd
  class Mdd < Rails::Engine
    config.autoload_paths << File.expand_path("../app", __FILE__)
  end

  module Generators
  	autoload :Model, 'mdd/generators/model'
    autoload :ModelAttribute, 'mdd/generators/model_attribute'
  end

  module Layout
  	autoload :Base, 'mdd/layout/base'
  	autoload :Helper, 'mdd/layout/helper'
  end
end

# include the layout selector in ApplicationController
ActionController::Base.send :include, Mdd::Layout::Helper

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mdd-2.0.1 lib/mdd.rb
mdd-2.0 lib/mdd.rb