This project is archived and is in readonly mode.

#1359 ✓committed
Tom Stuart

Add optional :format argument to named routes

Reported by Tom Stuart | November 12th, 2008 @ 11:12 AM

The discussion in #1215 has investigated ways to reduce the number of memory-hungry routes generated by map.resources.

Several people have suggested that we could abandon the formatted_ named routes altogether and replace them with a :format parameter to the regular named routes. This seems like a more natural implementation and will avoid cluttering the route set for people who rarely or never use these routes.

Related links oourtesy of aaronbatalion:

Can we get a patch together?

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