This project is archived and is in readonly mode.
Resources Routing not correctly generating paths
Reported by matthewcford | February 27th, 2009 @ 02:13 PM | in 2.x
A regression was introduced in commit fef6c32afe2276dffa0347e25808a86e7a101af1.
The following works in Rails v2.2.2, but not in master or v2.3.0.
With a router configured without these lines:
map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id'
and with a resource setup as below:
map.resources :projects
The /projects/ path is no longer accessible. However
/projects is.Comments and changes to this ticket
-
matthewcford March 2nd, 2009 @ 03:34 PM
It is similar, be as far as I can tell /resource/id should default to HTML, at the moment this route is not generated at all.
-
Oliver Legg March 4th, 2009 @ 05:16 PM
Duplicate of #2039. Was fixed in ce56c5daa81d61a745b88220014a846a0eea46a4.
-
josh March 4th, 2009 @ 07:27 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>