This project is archived and is in readonly mode.
current_url? doesn't work with relative_url_path
Reported by yyy | November 14th, 2009 @ 12:27 AM
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}"
Comments and changes to this ticket
-
Rohit Arondekar June 17th, 2010 @ 08:59 AM
- 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
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>