prefix with :: just incase

This commit is contained in:
Scott Davis 2011-09-10 16:31:31 -04:00
parent 91aaa29df8
commit 2792ea3be4

View File

@ -9,7 +9,7 @@ module Compass::RailsImageFuctionPatch
private private
def image_path(image_file) 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 return file
end end
super(image_file) super(image_file)