Expose extensions in config. Helps middleman/middleman-sprockets#111
This commit is contained in:
parent
a01656df39
commit
6872e07d34
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module Middleman
|
|||
attr_reader :app
|
||||
|
||||
# Whitelist methods that can reach out.
|
||||
def_delegators :@app, :config, :logger, :use, :map, :mime_type, :files, :root, :build?, :server?, :environment?
|
||||
def_delegators :@app, :config, :logger, :use, :map, :mime_type, :files, :root, :build?, :server?, :environment?, :extensions
|
||||
def_delegator :"@app.extensions", :activate
|
||||
|
||||
def initialize(app, template_context_class)
|
||||
|
|
Loading…
Reference in a new issue