CSS url to public folder files

I have some font files in the public folder of my rails project. For instance:

public/fonts/fontswesome-webfont.eot

In my css, I refer to this file as follows:

@font-face {
    font-family: 'FontAwesome';
    src: url('/fonts/fontawesome-webfont.eot?v=4.0.3');
}

The editor shows a red squiggly under the url statement. On hover it shows following message:

"Cannot resolve file 'fontawesome-webfont.eot'"

Is there any way to tell RubyMine that this is a valid path?

Please sign in to leave a comment.