Allow extensions to activate extensions

This commit is contained in:
Thomas Reynolds 2015-03-27 10:56:09 -07:00
parent 6fef5b3a93
commit 30721436c0

View file

@ -191,6 +191,7 @@ module Middleman
def_delegator :"::Middleman::Util", :instrument def_delegator :"::Middleman::Util", :instrument
def_delegators :"self.class", :root, :root_path def_delegators :"self.class", :root, :root_path
def_delegators :@generic_template_context, :link_to, :image_tag, :asset_path def_delegators :@generic_template_context, :link_to, :image_tag, :asset_path
def_delegators :@extensions, :activate
# Initialize the Middleman project # Initialize the Middleman project
def initialize(&block) def initialize(&block)