This project is archived and is in readonly mode.

#3487 ✓stale
yyy

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

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>

Pages