Expose asset_path on the main Application object (Sprockets needed it)

This commit is contained in:
Thomas Reynolds 2014-03-25 11:01:35 -07:00
parent 37a8caf3fa
commit 1b6af9a4c1

View file

@ -167,7 +167,7 @@ module Middleman
attr_reader :template_context_class
attr_reader :generic_template_context
delegate :link_to, :image_tag, :to => :generic_template_context
delegate :link_to, :image_tag, :asset_path, :to => :generic_template_context
# Initialize the Middleman project
def initialize(&block)