Relative stylesheet reference

Problem: The HREF generated by the stylesheet_link_tag is an absolute
path.

Details:
The layout for my view has the following line

<%= stylesheet_link_tag ‘scaffold’ %>

At runtime, this gets translated to

This does not get resolved correctly. The problem is the leading slash.
It should be

How can I coerce this change?

Sri

Sri Sankaran wrote:

This does not get resolved correctly. The problem is the leading
slash. It should be

Why? Isn’t your stylesheets folder under public? That’s your webroot, so
/stylesheets/…
should look in that folder…

How can I coerce this change?

maybe <%= stylesheet_link_tag ‘stylesheet/scaffold’ %> ???