prefix with :: just incase
This commit is contained in:
parent
91aaa29df8
commit
2792ea3be4
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user