Sha256: a64cefe6c7e8af1431adea06bba126380ab826e4ec787fb678817b666d5eb7e3

Contents?: true

Size: 420 Bytes

Versions: 19

Compression:

Stored size: 420 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'active_support'
require "action_controller"

module MDWA

  module Layout
  	autoload :Base, 'mdwa/layout/base'
  	autoload :Helper, 'mdwa/layout/helper'
	
  	# include the layout selector in ApplicationController
    ActionController::Base.send :include, MDWA::Layout::Helper
    ActiveSupport.on_load(:action_controller) do
        helper_method "current_page"
    end
  end
  
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
mdd-3.1.4 lib/mdwa/layout.rb
mdd-3.1.2 lib/mdwa/layout.rb
mdd-3.1.1 lib/mdwa/layout.rb
mdd-3.1.0 lib/mdwa/layout.rb
mdd-3.0.20 lib/mdwa/layout.rb
mdd-3.0.19 lib/mdwa/layout.rb
mdd-3.0.18 lib/mdwa/layout.rb
mdd-3.0.17 lib/mdwa/layout.rb
mdd-3.0.16 lib/mdwa/layout.rb
mdd-3.0.15 lib/mdwa/layout.rb
mdd-3.0.14 lib/mdwa/layout.rb
mdd-3.0.13 lib/mdwa/layout.rb
mdd-3.0.10 lib/mdwa/layout.rb
mdd-3.0.9 lib/mdwa/layout.rb
mdd-3.0.8 lib/mdwa/layout.rb
mdd-3.0.7 lib/mdwa/layout.rb
mdd-3.0.6 lib/mdwa/layout.rb
mdd-3.0.4 lib/mdwa/layout.rb
mdd-3.0.3 lib/mdwa/layout.rb