image-url not found in scss

I have a file with the extension .css.scss that was created by the rails scaffold. In it, I have the following line:


background-image: image-url('sprites.png');

The inspection says "Cannot find function 'image-url'". However, the code works perfectly, and as far as I know, that is the correct way to specify asset-managed images in a scss file.

How can I fix this?


Attachment(s):
cant_find_image_url.png
1 comment

Hello Paul,

There is the issue about it: http://youtrack.jetbrains.com/issue/WEB-6713

Feel free to vote for it.

0

Please sign in to leave a comment.