Sha256: 2955768b6b55d3bcc7db5eea2584845de9320c7253f2ee5d48aeac8f57ff3b1c

Contents?: true

Size: 352 Bytes

Versions: 4

Compression:

Stored size: 352 Bytes

Contents

require "mdd/version"

module Mdd
  class Mdd < Rails::Engine
    config.autoload_paths << File.expand_path("../app", __FILE__)
  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

4 entries across 4 versions & 1 rubygems

Version Path
mdd-1.0.3 lib/mdd.rb
mdd-1.0.2 lib/mdd.rb
mdd-1.0.1 lib/mdd.rb
mdd-1.0 lib/mdd.rb