Add back plain environment helper to context. Helps with #1861

This commit is contained in:
Thomas Reynolds 2016-03-25 10:23:00 -07:00
parent 7ae8e904a6
commit 3cbd9fdede

View file

@ -23,7 +23,7 @@ module Middleman
attr_accessor :current_engine
# Shorthand references to global values on the app instance.
def_delegators :@app, :config, :logger, :sitemap, :server?, :build?, :environment?, :data, :extensions, :root
def_delegators :@app, :config, :logger, :sitemap, :server?, :build?, :environment?, :environment, :data, :extensions, :root
# Initialize a context with the current app and predefined locals and options hashes.
#