Sass has no concept of your project or where you keep you images.
However, if you use compass, there's a "image_url()" helper function that
will let you refer to an image path like you do in rails and it will even do
asset hosts and timestamp invalidation.

chris

On Tue, Oct 6, 2009 at 12:02 sandridge AM, ryan.<[email protected]>wrote:

>
> I apologize if this is obvious or already documented, but either my
> google skills are failing me, or it is 3:00 am and I should be in bed.
> I totally understand that SASS is not a view, but is there a way to
> access the image_path helper in SASS? What is the standard practice
> for accessing the URL of an image? Are people just hardcoding it?
>
> Thanks,
> Ryan
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to