Relative paths don't work when run from a different url root
Reported by Jeremy Lightsmith | April 21st, 2008 @ 01:48 PM
When I add the following some paths are incorrect: ActionController::AbstractRequest.relative_url_root = '/cruise' For this to work please change urls in the css from background-image: url(/images/top_gradient.png); to background-image: url(../images/top_gradient.png); And change the logo link in _header.html <%= link_to image_tag("cruise_logo.png"), '/' %>
Comments and changes to this ticket
-
Michael Schubert June 10th, 2008 @ 05:57 AM
- State changed from open to resolved
Already fixed in recent CSS/html changes.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป