This project is archived and is in readonly mode.
current_page? in a partial template does not work.
Reported by jolohaga | April 16th, 2010 @ 09:23 PM
The current controller and action passed into current_page? are not found when current_page? is invoked inside of a partial template.
Comments and changes to this ticket
-
Lenary April 16th, 2010 @ 10:38 PM
I'm finding this bug a little hard to pin down, but indeed it exists (i think). i need to work out exactly how to get it fixed though.
-
Lenary April 16th, 2010 @ 10:41 PM
Aha, i think it might have something to do with this ticket: https://rails.lighthouseapp.com/projects/8994/tickets/4391-url_for-...
could you please give a few more details as to what exactly is going wrong?
-
Lenary April 16th, 2010 @ 10:49 PM
- Tag set to duplicate
Just tried that patch above, and it solves your problem as well as others. it should be approved soon.
-
Rizwan Reza May 15th, 2010 @ 03:09 PM
- Tag cleared.
- State changed from new to duplicate
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>
People watching this ticket
Referenced by
- 4391 url_for doesn't like HashWithIndifferentAccess But other than that, it does indeed work and fix a few ot...