This project is archived and is in readonly mode.
:format gets "inherited" in 2.3
Reported by Tobsch | February 26th, 2009 @ 06:29 AM
Hi There,
routes that have no :format parameter inherit the :format from the page they are being displayed on. eg: I have a sitemap that is being rendered with :format => sitemaps and all the links in that sitemap now also have the sitemap :format.
Tricky!
Best,
Tobias
Comments and changes to this ticket
-
DHH February 27th, 2009 @ 01:56 PM
- Assigned user set to josh
- Tag changed from 2.3-rc1, formt, respond_to, routing to 2.3-rc1, 2.3.0, formt, respond_to, routing
- Milestone cleared.
Related to #2043
-
josh March 3rd, 2009 @ 06:31 PM
- 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>
Tags
Referenced by
- 2082 named routes seem not to work with :format I meant to say, "common with ticket #2081 and ticket #2043".
- 2094 Resources Routing not correctly generating paths I also suspect that ticket #2081 and ticket #2082 are rel...