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

feature/manifest
Thomas Reynolds 2016-03-25 10:23:00 -07:00
parent 7ae8e904a6
commit 3cbd9fdede
1 changed files with 1 additions and 1 deletions

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.
#