From 1b6af9a4c160b27d448d44fba806bef74145c9a4 Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Tue, 25 Mar 2014 11:01:35 -0700 Subject: [PATCH] Expose asset_path on the main Application object (Sprockets needed it) --- middleman-core/lib/middleman-core/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleman-core/lib/middleman-core/application.rb b/middleman-core/lib/middleman-core/application.rb index 9ee0dc42..83cb0b75 100644 --- a/middleman-core/lib/middleman-core/application.rb +++ b/middleman-core/lib/middleman-core/application.rb @@ -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)