This project is archived and is in readonly mode.

#1753 ✓duplicate
Luke Melia

URLs with trailing slashes behave differently in Edge than in 2.2.2

Reported by Luke Melia | January 13th, 2009 @ 10:59 PM | in 2.x

Given a simple app with a User model and routing configured with:

map.resources :users

The following URLs resolve to UsersController#show in 2.2.2

/users/9/

/users/9

but in Edge, the version with the trailing slash results in a 404.

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>

Referenced by

Pages