This project is archived and is in readonly mode.

#2094 ✓duplicate
matthewcford

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

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

Pages