Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

current_url? doesn't work with relative_url_path

#3487

The line

url_string == "#{request.protocol}#{request.host_with_port}#{request_uri}"

should read

url_string == "#{request.protocol}#{request.host_with_port}#{@controller.relative_url_root}#{request_uri}"

Reported by yyy · November 14th, 2009 @ 12:27 AM

State: stale
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to stale

    Closing ticket. If you still find this issue in Rails master or the 2-3-stable branch, just make a comment and I'll re-open it. If the issue does indeed still exist, please mention how the issue can be reproduced and make a patch. The contributor guide can be found here http://rails.lighthouseapp.com/projects/8994/sending-patches

    June 17th, 2010 @ 08:59 AM

  2. bingbing