Sha256: bafe9c62e96f167c2c6278340055d5536515749d042d6ed4e7f09b4c28156c78

Contents?: true

Size: 441 Bytes

Versions: 1

Compression:

Stored size: 441 Bytes

Contents

require "mdd/version"

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

  module Generators
  	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

1 entries across 1 versions & 1 rubygems

Version Path
mdd-1.1.0 lib/mdd.rb