Allow extensions to activate extensions
This commit is contained in:
parent
6fef5b3a93
commit
30721436c0
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue