From 2792ea3be4746b4f443b4ffdff213c28dee673ff Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Sat, 10 Sep 2011 16:31:31 -0400 Subject: [PATCH] prefix with :: just incase --- lib/compass/app_integration/rails/actionpack31/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compass/app_integration/rails/actionpack31/helpers.rb b/lib/compass/app_integration/rails/actionpack31/helpers.rb index 4c7998ca..f03ec796 100644 --- a/lib/compass/app_integration/rails/actionpack31/helpers.rb +++ b/lib/compass/app_integration/rails/actionpack31/helpers.rb @@ -9,7 +9,7 @@ module Compass::RailsImageFuctionPatch private def image_path(image_file) - if file = Rails.application.assets.find_asset(image_file) + if file = ::Rails.application.assets.find_asset(image_file) return file end super(image_file)